wForget commented on PR #41332:
URL: https://github.com/apache/spark/pull/41332#issuecomment-1575952608

   I found the same problem in hive data source, the partition filter cannot be 
pushed down due to the cast expression. Can we push down date type filter in 
`Shim_v0_13#getPartitionsByFilter`? In addition, is it possible to use unquoted 
date string to pass date filter? Hive metastore will parse unquoted date string 
into a date type. Refer to 
https://github.com/apache/hive/blob/7cd3107a76d633ef5fae2ffb8ec16953ac968092/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/parser/Filter.g#L546


-- 
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: reviews-unsubscr...@spark.apache.org

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


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

Reply via email to