Open stijndehaes opened 3 years ago
as a workaround turn off pruning :
spark.sql.hive.metastorePartitionPruning false
spark.sql.hive.convertMetastoreParquet false
@stijndehaes SPARK-33477 added Hive partition pruning support for date type back in 2020 under [SPARK-33477][SQL] Hive Metastore support filter by date type #30408 https://github.com/apache/spark/pull/30408 . Why would this cause Glue 3 to not be able to perform filter by date type? (works if you convert date to string). Is the real cause of this issue Glue support for Hive needing to be updated?
I created a PR to spark to fix this, it has just been accepted: https://github.com/apache/spark/pull/41035
@stijndehaes great. Any chance the fix could be back ported in 3.* instead of 3.5 as mentioned in the jira ?https://issues.apache.org/jira/browse/SPARK-43357
@stijndehaes great. Any chance the fix could be back ported in 3.* instead of 3.5 as mentioned in the jira ?https://issues.apache.org/jira/browse/SPARK-43357
Good idea, I just asked on the JIRA ticket if that is possible.
The following minimal example results in an error:
This fails both with this library using spark 3.1.x and EMR 6.3.
This fails because of the following change in spark 3.1.x https://issues.apache.org/jira/browse/SPARK-33477