manuzhang opened a new issue, #7783: URL: https://github.com/apache/datafusion-comet/issues/7783
Follow-up to #6246. In [review](https://github.com/apache/datafusion-comet/pull/6246#discussion_r4706279902), `value < 'two'` pruned one row group with `spark.sql.parquet.binaryAsString=true`, versus two with it off. Arrow exposes both ENUM and unannotated BINARY as `Binary`, so the Arrow type alone cannot tell us when range pruning is safe. Use the Parquet ENUM annotation to retain statistics pruning when the comparison order is compatible. Test three ENUM row groups (`one`, `two`, `zulu`), check the native scan’s pruning and result parity with Spark, and keep an unannotated BINARY control. -- 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]
