You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "Akeron-Zhu (via GitHub)" <gi...@apache.org> on 2024/11/21 08:53:54 UTC
[I] Is iceberg support "Predicate Pushdown" when spark read data from it? [iceberg]
Akeron-Zhu opened a new issue, #11617:
URL: https://github.com/apache/iceberg/issues/11617
I had run same SQL use spark-3.3, the only difference is data source,one is hive and another is iceberg。The web UI show that, however, iceberg read all table (e.g, 1.1TB), but hive read much less than iceberg (e.g, 40GB). I guess the reason is hive can prune data through the predicate pushdown and iceberg don't support it, is this right?
--
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-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Does iceberg support "Predicate Pushdown" when spark read data from it? [iceberg]
Posted by "nateagr (via GitHub)" <gi...@apache.org>.
nateagr commented on issue #11617:
URL: https://github.com/apache/iceberg/issues/11617#issuecomment-2691230858
Hello!
I'm also interesting in more details about the predicate pushdown in Iceberg. I've opened an issue about it [here](https://github.com/apache/iceberg/issues/12428). I have experienced the same issue as described by @Akeron-Zhu . With predicates as simple as ((int) column > (int) X), I have noticed a significant slowdown when reading one of my Iceberg tables with Spark in comparison to reading a simple parquet table from Hive that has exactly the same schema.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Does iceberg support "Predicate Pushdown" when spark read data from it? [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #11617: Does iceberg support "Predicate Pushdown" when spark read data from it?
URL: https://github.com/apache/iceberg/issues/11617
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Is iceberg support "Predicate Pushdown" when spark read data from it? [iceberg]
Posted by "RussellSpitzer (via GitHub)" <gi...@apache.org>.
RussellSpitzer commented on issue #11617:
URL: https://github.com/apache/iceberg/issues/11617#issuecomment-2491925208
Depends on the query, there are some finicky details there but sometimes (especially in early versions of Iceberg and Spark) predicates don't translate correctly.
Iceberg does support Predicate Pushdown, the rules are just slightly different but in general if the types match up correctly everything should be exactly the same.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Is iceberg support "Predicate Pushdown" when spark read data from it? [iceberg]
Posted by "Akeron-Zhu (via GitHub)" <gi...@apache.org>.
Akeron-Zhu commented on issue #11617:
URL: https://github.com/apache/iceberg/issues/11617#issuecomment-2510526449
> Depends on the query, there are some finicky details there but sometimes (especially in early versions of Iceberg and Spark) predicates don't translate correctly.
>
> Iceberg does support Predicate Pushdown, the rules are just slightly different but in general if the types match up correctly everything should be exactly the same.
Thanks for you answer. I read Spark 3.3.3 source code after I encounter this problem and find that there is a special hive client in the code, the special hive client also has a special rule named PruneHiveTablePartitions which used to prune hive table partitions. Does iceberg support prune partitions or any rule like this?
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Does iceberg support "Predicate Pushdown" when spark read data from it? [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11617:
URL: https://github.com/apache/iceberg/issues/11617#issuecomment-3230311764
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] Does iceberg support "Predicate Pushdown" when spark read data from it? [iceberg]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #11617:
URL: https://github.com/apache/iceberg/issues/11617#issuecomment-3283045441
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'
--
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-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org