zachdisc commented on issue #9018:
URL: https://github.com/apache/iceberg/issues/9018#issuecomment-2012391871

   That appears to be it. I didn't switch spark versions knowingly - I observed 
this when upgrading from EMR 6.14 (Spark 3.4.1, Iceberg 1.3.1-amzn-0) to EMR 
6.15+ (Spark 3.4.1, Iceberg 1.4.0-amzn-0). Same with EMR 7 which runs on Spark 
3.5. 
   
   That ticket looks to describe the same type of problem, in 
https://github.com/apache/spark/blob/2b0e841a35343343c82e8ca15225014b64d8c59f/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2Strategy.scala#L669,
 where 
   ```
   object PushablePredicate {
     def unapply(e: Expression): Option[Predicate] =
       new V2ExpressionBuilder(e, true).build().map { v =>
         assert(v.isInstanceOf[Predicate])
         v.asInstanceOf[Predicate]
       }
   ```
   
   the expression isn't actually an instance of Predicate? Seems like this is a 
Spark issue. I wonder if Iceberg's upgrade was the thing that accidentally 
exercised and uncovered the issue somehow.


-- 
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: issues-unsubscr...@iceberg.apache.org

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


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

Reply via email to