Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-8254

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • 0.17.0
    • Rust, Rust - DataFusion
    • 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\")")
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            andygrove Andy Grove
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: