You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "laserninja (via GitHub)" <gi...@apache.org> on 2026/04/18 22:55:43 UTC

[I] Parquet: Filter pushdown throws UnsupportedOperationException for decimal and UUID predicates [iceberg]

laserninja opened a new issue, #16035:
URL: https://github.com/apache/iceberg/issues/16035

   ### Apache Iceberg version
   
   1.10.1 (latest release)
   
   ### Query engine
   
   Other
   
   ### Please describe the bug 🐞
   
   
   `ParquetFilters.getParquetPrimitive()` (line 223) has a TODO:
   
   ```java
   // TODO: this needs to convert to handle BigDecimal and UUID
   ```
   
   The method handles `Number`, `CharSequence`, and `ByteBuffer` literal types, but does not handle `BigDecimal` (used for Iceberg `decimal` type) or `UUID`. When a predicate on a decimal or UUID column reaches the Parquet filter pushdown path, the method throws:
   
   ```
   UnsupportedOperationException: Type not supported yet: java.math.BigDecimal
   ```
   
   This prevents filter pushdown for decimal/UUID columns and can crash queries instead of gracefully falling back to post-scan filtering.
   
   ### Expected behavior
   
   - `BigDecimal` should be converted to Parquet's `Binary` representation (fixed-length byte array with unscaled value)
   - `UUID` should be converted to a 16-byte `Binary` (or the appropriate Parquet logical type representation)
   - Alternatively, return `null` for unsupported types to skip pushdown gracefully rather than throwing
   
   ### Affected file
   
   ParquetFilters.java (line 223–234)
   
   ### Willingness to contribute
   
   - [x] I can contribute a fix for this bug independently
   - [ ] I would be willing to contribute a fix for this bug with guidance from the Iceberg community
   - [ ] I cannot contribute a fix for this bug at this 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.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] Parquet: Filter pushdown throws UnsupportedOperationException for decimal and UUID predicates [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #16035:
URL: https://github.com/apache/iceberg/issues/16035#issuecomment-6227288171

   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] Parquet: Filter pushdown throws UnsupportedOperationException for decimal and UUID predicates [iceberg]

Posted by "github-actions[bot] (via GitHub) via issues" <is...@iceberg.apache.org>.
github-actions[bot] closed issue #16035: Parquet: Filter pushdown throws UnsupportedOperationException for decimal and UUID predicates
URL: https://github.com/apache/iceberg/issues/16035


-- 
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] Parquet: Filter pushdown throws UnsupportedOperationException for decimal and UUID predicates [iceberg]

Posted by "github-actions[bot] (via GitHub) via issues" <is...@iceberg.apache.org>.
github-actions[bot] commented on issue #16035:
URL: https://github.com/apache/iceberg/issues/16035#issuecomment-6551075912

   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


Re: [I] Parquet: Filter pushdown throws UnsupportedOperationException for decimal and UUID predicates [iceberg]

Posted by "yadavay-amzn (via GitHub)" <gi...@apache.org>.
yadavay-amzn commented on issue #16035:
URL: https://github.com/apache/iceberg/issues/16035#issuecomment-4275520509

   Closing my PR — noticed you indicated willingness to contribute independently. Please go ahead!


-- 
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] Parquet: Filter pushdown throws UnsupportedOperationException for decimal and UUID predicates [iceberg]

Posted by "yadavay-amzn (via GitHub)" <gi...@apache.org>.
yadavay-amzn commented on issue #16035:
URL: https://github.com/apache/iceberg/issues/16035#issuecomment-4275370716

   I would like to work on this. Will submit a PR shortly.


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