AndreaScotti01 opened a new issue, #2635:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2635

   `LOAD DATA ... INFILE` is not parsed by `MySqlDialect`:
   
   ```sql
   LOAD DATA LOCAL INFILE '/tmp/x.csv' REPLACE INTO TABLE t FIELDS TERMINATED 
BY '|' (a, b)
   -- Expected: `DATA` or an extension name after `LOAD`, found: LOCAL
   ```
   
   Only the Hive form (`LOAD DATA [LOCAL] INPATH ...`) is supported today.
   
   Grammar: https://dev.mysql.com/doc/refman/8.4/en/load-data.html
   
   Related: #2379 plans Doris `LOAD DATA INFILE`, which uses the same syntax.
   
   I have a PR in progress: #2634


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to