szehon-ho commented on code in PR #6716:
URL: https://github.com/apache/iceberg/pull/6716#discussion_r1094108930
##########
orc/src/main/java/org/apache/iceberg/orc/OrcIterable.java:
##########
@@ -84,15 +91,18 @@ public CloseableIterator<T> iterator() {
addCloseable(orcFileReader);
TypeDescription fileSchema = orcFileReader.getSchema();
+ Schema schemaWithoutConstantFields =
Review Comment:
Previously, schema already pruned without constant columns is passed into
ORCIterable for its filter logic.
However, this fails attempts to bind constant column filters. This makes it
so that we prune it only when we need it, but we keep it in attempting to bind
the constant column filters.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]