liukun4515 opened a new issue, #2962:
URL: https://github.com/apache/arrow-datafusion/issues/2962

   **Describe the bug**
   In the `RowGroupPruningStatistics`, we use the statistics to prune the row 
group for parquet file.
   
   In the below logical: 
   
https://github.com/apache/arrow-datafusion/blob/f386f7a7344d54455fe04d92248e373fac990e6d/datafusion/core/src/physical_plan/file_format/parquet.rs#L392
   to get the min and max for a column.
   
   But the logic has bug for the data type.
   
   In the parquet, we can use `INT32`、`INT64` or `BINARY` to store decimal 
value, but in the below logical, we can't get the right type of the `ArrayRef`. 
   **To Reproduce**
   Steps to reproduce the behavior:
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **Additional context**
   Add any other context about the problem here.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to