andygrove opened a new issue, #3079:
URL: https://github.com/apache/datafusion-comet/issues/3079

   ### Describe the bug
   
   Comet's murmur3 hash implementation is not compatible with Spark for high 
precision types and we should fall back to Spark if the partitioning keys 
contain these types.
   
   
   We just need to add a check like this:
   
   ```
    271 -       case dt: DecimalType =>                                         
                                                                              
    272 -         // High precision decimals (> 18) fall back to Spark because 
Spark converts them                                                            
    273 -         // to Java BigDecimal before hashing, which has different 
behavior than native hashing                                                    
  
    274 -         dt.precision <= 18  
   ```
   
   ### Steps to reproduce
   
   _No response_
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to