We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
quote
escape
1、Add quote & escape for create external table 2、In addition, the DELIMITER attribute is only used in csv. Can it also be moved to option?
CREATE EXTERNAL TABLE custom( c1 VARCHAR DEFAULT NULL, c2 VARCHAR DEFAULT NULL ) STORED AS CSV WITH HEADER ROW OPTIONS ('delimiter' ',','read.escape' '\', 'read.quote' '~') LOCATION 'custom.csv';
read.escape & read.quote from https://github.com/apache/arrow-datafusion/pull/8251 comment
read.escape
read.quote
No
Related: #8251
The text was updated successfully, but these errors were encountered:
csv_files.rs
For this, I will do 3 things:
for 2 & 3: I'm not sure if it will cause trouble to users,so keep it as is
final:
CREATE EXTERNAL TABLE custom( c1 VARCHAR DEFAULT NULL, c2 VARCHAR DEFAULT NULL ) STORED AS CSV DELIMITER ',' WITH HEADER ROW OPTIONS ('escape' '\', 'quote' '~') LOCATION 'custom.csv';
If you have better suggestions, please leave a message
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Is your feature request related to a problem or challenge?
1、Add
quote
&escape
for create external table2、In addition, the DELIMITER attribute is only used in csv. Can it also be moved to option?
Describe the solution you'd like
Describe alternatives you've considered
No
Additional context
Related: #8251
The text was updated successfully, but these errors were encountered: