[
https://issues.apache.org/jira/browse/ARROW-9656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Lamb reassigned ARROW-9656:
----------------------------------
Assignee: Andrew Lamb
> [Rust][DataFusion] Slightly confusing error message when unsupported type is
> provided to CREATE EXTERNAL TABLE
> --------------------------------------------------------------------------------------------------------------
>
> Key: ARROW-9656
> URL: https://issues.apache.org/jira/browse/ARROW-9656
> Project: Apache Arrow
> Issue Type: Improvement
> Reporter: Andrew Lamb
> Assignee: Andrew Lamb
> Priority: Major
>
> When I make a typo in the CREATE EXTERNAL TABLE command, I get an error
> message that doesn't doesn't tell me the valid values of STORED AS:
> As a user, I would like the software to guide me to the correct resolution
> and tell me what the supported formats are.
> For example:
> {code}
> CREATE EXTERNAL TABLE repro
> STORED AS ARROW
> LOCATION 'repro.arrow';
> {code}
> results in:
> {code}
> > CREATE EXTERNAL TABLE repro
> STORED AS ARROW
> LOCATION 'repro.arrow';
> ParserError(ParserError("Expected fileformat, found: ARROW"))
> {code}
> Ideally the error should say that the valid choices are PARQUET, CSV, or
> DSJSON
--
This message was sent by Atlassian Jira
(v8.3.4#803005)