prodeezy opened a new pull request #110: Iceberg fails to return results when filtered on complex columns URL: https://github.com/apache/incubator-iceberg/pull/110 This PR fixes issue reported at https://github.com/apache/incubator-iceberg/issues/99 With this change filtering on complex predicates returns rows: ``` scala> spark.sql("select * from people_iceberg_complex where friends['Josh'] == 10").show() 19/02/22 14:42:30 WARN scheduler.TaskSetManager: Stage 16 contains a task of very large size (113 KB). The maximum recommended task size is 100 KB. +---+----+--------------------+ |age|name| friends| +---+----+--------------------+ | 30|Andy|[Josh -> 10, Bisw...| +---+----+--------------------+ scala> spark.sql("select * from people_iceberg_complex where friends['Josh'] == 10").explain() == Physical Plan == *(1) Project [age#25, name#26, friends#27] +- *(1) Filter ((friends#27[Josh] = 10) && isnotnull(friends#27)) +- *(1) ScanV2 iceberg[age#25, name#26, friends#27] (Filters: [isnotnull(friends#27)], Options: [path=iceberg-people-complex,paths=[]]) ```
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
