Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
None
-
None
Description
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\")")