alamb opened a new pull request #7905:
URL: https://github.com/apache/arrow/pull/7905


   Previously, the error message for an invalid CREATE EXTERNAL TABLE command 
told the user there was a problem but not how to fix it. This PR improves the 
error message and adds some parser tests.
   
   Before this PR:
   
   ```
   CREATE EXTERNAL TABLE repro
   STORED AS ARROW
   LOCATION 'repro.arrow';
   
   ParserError(ParserError("Expected fileformat, found: ARROW"))
   ```
   
   
   After this PR:
   ```
   CREATE EXTERNAL TABLE repro
   STORED AS ARROW
   LOCATION 'repro.arrow';
   
   ParserError(ParserError("Expected one of PARQUET, NDJSON, or CSV, found: 
ARROW"))
   ```
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to