alamb opened a new issue, #6288:
URL: https://github.com/apache/arrow-datafusion/issues/6288
Not sure will it be worth adding more checks like
`expect_one_of_keywords` (or other smarter ways) to make the user experience
better? (though I couldn't find it's universally applied to all parser paths)
e.g. a typo like
```sql
CREATE EXTERNAL TABLE t(c1 int)
STORED AS CSV
WITH HEAD ROW
LOCATION 'foo.csv';
```
will turn into error `sql parser error: Missing LOCATION clause in CREATE
EXTERNAL TABLE statement` which is a bit confusing.
_Originally posted by @tz70s in
https://github.com/apache/arrow-datafusion/pull/6257#discussion_r1186779655_
--
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]