-
Notifications
You must be signed in to change notification settings - Fork 514
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
Snowflake write: escape backslash in CSV files #5551
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5551 +/- ##
==========================================
- Coverage 61.29% 61.28% -0.01%
==========================================
Files 314 314
Lines 11250 11250
Branches 793 776 -17
==========================================
- Hits 6896 6895 -1
- Misses 4354 4355 +1 ☔ View full report in Codecov by Sentry. |
If the data contains |
I don't think it would work with data that may contains all between comma We found this because we have data with a string like With the fix it's now It may be managed by kantan (with |
FYI I also opened a PR in Apache Beam: apache/beam#33803 I think it's difficult to have something really clean, since Beam does half a CSV serialization: doing a naive |
Should we punt on this until we integrate beam 2.63? |
No, there isn't a dependency. This one and the one in Beam fix distinct bugs, though in the same area. |
Unsure it is the right way to do that — can't find how to properly configure escapes chars with kantan.