Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming a column #252

Closed
miko866 opened this issue May 6, 2024 · 1 comment
Closed

Renaming a column #252

miko866 opened this issue May 6, 2024 · 1 comment

Comments

@miko866
Copy link

miko866 commented May 6, 2024

Hi,
I need to rename column index to [index] in MSSQL because it is a keyword.
Unfortunately I didn’t find a example or syntax how this would be possible.
Could someone help me?

@edgarrmondragon
Copy link
Member

Hi @miko866, you could try something like

stream_maps:
  # Apply these transforms to the stream called 'customers'
  my_stream:
    # drop the original field
    index: __NULL__
    # alias
    index_field: index

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants