alamb opened a new issue #210:
URL: https://github.com/apache/arrow-datafusion/issues/210


   In the context of https://github.com/apache/arrow-datafusion/issues/107 from 
@joshuataylor
   
   This will likely require  https://github.com/apache/arrow-rs/issues/230 
(support for pretty-printing decimal numbers)
   
   **Describe the solution you'd like**
   It should be possible to group by data in columns of `DataType::Decimal` type
   
   Right now you get an error such as:
   ```
   (Internal("Unsupported GROUP BY type creating key Decimal(9, 0)"))
   ```
   
   ** Reproducer **
   In the datafusion-cli:
   ```
   CREATE EXTERNAL TABLE something STORED AS PARQUET LOCATION 'demo.parquet';
   select O_ORDERKEY from something group by O_ORDERKEY;
   ```
   
   Where demo.parquet is here: 
https://drive.google.com/file/d/1aCW7SW2rUVioSePduhgo_91F5-xDMyjp/view?usp=sharing
   
   (note the file is large, so I am not sure how long this query will take)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to