You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2020/08/05 14:41:00 UTC
[jira] [Created] (ARROW-9656) [Rust][DataFusion] Slightly confusing
error message when unsupported type is provided to CREATE EXTERNAL TABLE
Andrew Lamb created ARROW-9656:
----------------------------------
Summary: [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
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)