parthchandra commented on issue #2029:
URL: 
https://github.com/apache/datafusion-comet/issues/2029#issuecomment-3076327201

   This error is likely because the schema for the column `sr_return_amt` is a 
`decimal(7,2)` while in the parquet file that field has a physical type of 
`double`.  (see 
https://github.com/apache/datafusion-comet/blob/b4ac876ab420ed403ac7fc8e1b29f42f1f442566/common/src/main/java/org/apache/comet/parquet/TypeUtil.java#L118)
   Per the [parquet 
spec](https://github.com/apache/parquet-format/blob/master/LogicalTypes.md#decimal),
 `decimal` fields can have a physical type of  either `int32`, `int64`, 
`fixed_len_byte_array`, or `byte_array` 
   
   You might want to double check your data generation.
    


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to