Uh oh!
There was an error while loading. Please reload this page.
Add quote and escape attributes to create csv external table - #8351
Conversation
# Conflicts: # datafusion/physical-plan/src/joins/hash_join_utils.rs
# Conflicts: # datafusion/physical-plan/src/joins/hash_join_utils.rs
| WITH HEADER ROW | ||
| DELIMITER ',' | ||
| OPTIONS ('escape' '\"') | ||
| LOCATION '../core/tests/data/escape.csv'; |
There was a problem hiding this comment.
To CREATE EXTERNAL TABLE syntax coverage, I add this file
quote & escape for create external tablequote and escape attributes to create csv external tableUh oh!
There was an error while loading. Please reload this page.
alamb
left a comment
There was a problem hiding this comment.
Thank you @Asura7969 -- this looks great. I had a suggestion related to settings and it would be nice to add a reference to the comments, but I also think we could merge this PR as is and do them as a follow on.
Let me know what you would like to do.
Thanks again!
Uh oh!
There was an error while loading. Please reload this page.
Asura7969
commented
Nov 29, 2023
I will follow your suggestions |
alamb
commented
Nov 29, 2023
Thank you @Asura7969 ! |
Which issue does this PR close?
Closes#8310.
Rationale for this change
Create csv table in sql mode, support quote & escape
What changes are included in this PR?
Add
quoteandescapeattributes to create csv external tableAre these changes tested?
yes,
csv_files.sltAre there any user-facing changes?
Add
quote&escapeattributes to OPTIONS.