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

Add ESCAPE_UNENCLOSED_FIELD Parameter in The Load Table Query's File Format #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

williamgagnonpoka
Copy link

In the SnowflakeBackend, the query used inside the merge_table() function includes the ESCAPE_UNENCLOSED_FIELD=NONE parameter. However, the query used in the load_table() function does not include this parameter, leading to errors when loading certain rows into Snowflake tables.

For example, a string like "Hello! \" will result in the following error:

End of record reached while expected to parse column.

This PR resolves the issue by adding the ESCAPE_UNENCLOSED_FIELD=NONE parameter to the query used in the load_table() function, ensuring consistency and preventing such errors.

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

Successfully merging this pull request may close these issues.

None yet

1 participant