fresh-borzoni opened a new issue, #3292:
URL: https://github.com/apache/fluss/issues/3292

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/fluss/issues) and 
found nothing similar.
   
   
   ### Description
   
   When pushing down partition filters, both the Spark and Flink connectors 
stringify everything, predicate literals and partition values alike, before 
evaluating. That makes equality work fine, but range comparisons fall back to 
string order.                                             
                                                                                
                                                                                
                                                                                
        
   So with an INT partition column and partitions pt=2, pt=10, a query WHERE pt 
> 2 lexicographically compares "10" < "2" and drops pt=10. Rows go missing. 
   
    We can build the partition row with typed values using the existing 
PartitionUtils.parseValueOfType and skip stringification for both Flink/Spark.
   
   ### Willingness to contribute
   
   - [x] I'm willing to submit a PR!


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