Asura7969 commented on PR #8251: URL: https://github.com/apache/arrow-datafusion/pull/8251#issuecomment-1820734122
> I believe another way is to generate custom-delimited (or escaped) .csv while configuring test context -- reference example might be [csv generation](https://github.com/apache/arrow-datafusion/blob/f310db31b801553bae16ac6a3ef9dc76de7b016a/datafusion/sqllogictest/src/test_context.rs#L104) for `joins.slt` I just looked at the relevant code and it doesn't meet the testing requirements, for example(**ddl**): ```sql CREATE EXTERNAL TABLE csv_custom_quote ( c1 VARCHAR DEFAULT NULL, c2 VARCHAR DEFAULT NULL ) STORED AS CSV WITH HEADER ROW DELIMITER ',' OPTIONS ('quote' '~') -- this LOCATION '../../testing/data/csv/csv_custom_quote.csv'; ``` > Added quote configuration in sql Although the api has relevant configuration, it is not supported in sql. If you have better suggestions, I will improve it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
