You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "thswlsqls (via GitHub)" <gi...@apache.org> on 2026/07/03 23:36:37 UTC

[PR] Parquet: Fix boolean filter pushdown UnsupportedOperationException [iceberg]

thswlsqls opened a new pull request, #17093:
URL: https://github.com/apache/iceberg/pull/17093

   Closes #17092
   
   ## Summary
   
   - `ParquetFilters.getParquetPrimitive()` handled `Number`, `CharSequence`, and `ByteBuffer` literals but not `Boolean`, so `EQ`/`NOT_EQ` predicates on boolean columns threw `UnsupportedOperationException` while building the Parquet read builder, failing the read before any rows were returned.
   - Adds `Boolean` to the existing `Number` branch (direct cast, same pattern), since `FilterApi.eq(BooleanColumn, Boolean)` expects the literal as-is.
   - No other literal types (decimal/UUID, handled separately in open PR #16621) are touched.
   
   ## Testing done
   
   - Added `TestParquet#booleanEqualityFilterPushdown` and `TestParquet#booleanInequalityFilterPushdown`, each writing a boolean-column Parquet file and reading it back through `Parquet.read(...).filter(...)`, asserting the correct rows are returned instead of throwing.
   - `./gradlew :iceberg-parquet:check` — 705 tests passed (0 failures/errors), spotlessCheck/checkstyle/revapi included.
   - `./gradlew :iceberg-parquet:revapi` — passed (no public API change; `ParquetFilters` is package-private, `getParquetPrimitive` is private static).
   


-- 
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: [PR] Parquet: Fix boolean filter pushdown UnsupportedOperationException [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #17093:
URL: https://github.com/apache/iceberg/pull/17093#issuecomment-5447804528

   This pull request has been closed due to lack of activity. This is not a judgement on the merit of the PR in any way. It is just a way of keeping the PR queue manageable. If you think that is incorrect, or the pull request requires review, you can revive the PR at any time.


-- 
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: [PR] Parquet: Fix boolean filter pushdown UnsupportedOperationException [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #17093: Parquet: Fix boolean filter pushdown UnsupportedOperationException
URL: https://github.com/apache/iceberg/pull/17093


-- 
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: [PR] Parquet: Fix boolean filter pushdown UnsupportedOperationException [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #17093:
URL: https://github.com/apache/iceberg/pull/17093#issuecomment-5363602715

   This pull request has been marked as stale due to 30 days of inactivity. It will be closed in 1 week if no further activity occurs. If you think that’s incorrect or this pull request requires a review, please simply write any comment. If closed, you can revive the PR at any time and @mention a reviewer or discuss it on the dev@iceberg.apache.org list. Thank you for your contributions.


-- 
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