[
https://issues.apache.org/jira/browse/ARROW-8254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Grove updated ARROW-8254:
------------------------------
Description:
I'm testing the CLI and it appears almost unusable.
We should at least improve the error messages for common errors.
{code:java}
> CREATE EXTERNAL TABLE taxi
STORED AS PARQUET
LOCATION '/mnt/nyctaxi/tripdata.parquet'
;
0 rows in set.
> SELECT COUNT(*) FROM taxi;
General("General(\"Can\\\'t build array reader without columns!\")")
{code}
{code:java}
> SELECT COUNT(*) FROM aggregate_test_100;
ArrowError(InvalidArgumentError("at least one column must be defined to create
a record batch"))
{code}
was:
{code:java}
> SELECT COUNT(*) FROM aggregate_test_100;
ArrowError(InvalidArgumentError("at least one column must be defined to create
a record batch"))
{code}
> [Rust] [DataFusion] CLI is not working as expected
> --------------------------------------------------
>
> Key: ARROW-8254
> URL: https://issues.apache.org/jira/browse/ARROW-8254
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust, Rust - DataFusion
> Reporter: Andy Grove
> Priority: Major
> Fix For: 0.17.0
>
>
> I'm testing the CLI and it appears almost unusable.
> We should at least improve the error messages for common errors.
>
> {code:java}
> > CREATE EXTERNAL TABLE taxi
> STORED AS PARQUET
> LOCATION '/mnt/nyctaxi/tripdata.parquet'
> ;
> 0 rows in set.
> > SELECT COUNT(*) FROM taxi;
> General("General(\"Can\\\'t build array reader without columns!\")")
> {code}
>
> {code:java}
> > SELECT COUNT(*) FROM aggregate_test_100;
> ArrowError(InvalidArgumentError("at least one column must be defined to
> create a record batch"))
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)