Asura7969 commented on issue #8310:
URL:
https://github.com/apache/arrow-datafusion/issues/8310#issuecomment-1831050489
For this, I will do 3 things:
* 1、Add `quote` & `escape` attributes to **OPTIONS**.
* 2、delimiter will not be moved to **OPTIONS**.
* 3、`quote` & `escape` will not change to `read.escape` & `read.quote`
> for 2 & 3: I'm not sure if it will cause trouble to users,so keep it as is
final:
```sql
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
--
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]