Is your feature request related to a problem or challenge?
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?
Describe the solution you'd like
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
Describe alternatives you've considered
No
Additional context
Related: #8251
Is your feature request related to a problem or challenge?
1、Add
quote&escapefor 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
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';Describe alternatives you've considered
No
Additional context
Related: #8251