Skip to content

[Rust] [DataFusion] CLI is not working as expected #24450

@asfimport

Description

@asfimport

I'm testing the CLI and it appears almost unusable.

We should at least improve the error messages for common errors.

 

> 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!\")")
 

 

> SELECT COUNT(*) FROM aggregate_test_100;

ArrowError(InvalidArgumentError("at least one column must be defined to create a record batch"))
 

 

 > SELECT * FROM taxi LIMIT 1;
General("InvalidArgumentError(\"column types must match schema types, expected Timestamp(Microsecond, None) but found UInt64 at column index 1\")")

Reporter: Andy Grove / @andygrove

Note: This issue was originally created as ARROW-8254. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions