You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "hantangwangd (via GitHub)" <gi...@apache.org> on 2026/05/13 16:31:12 UTC

[PR] Spark: Disable min/max aggregation push down for string under any mode [iceberg]

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

   The metrics mode recorded in an Iceberg table reflects only the current state. That is to say, the mode may have been changed in the past, and when data was actually written earlier, the statistics were processed according to the metrics mode at that time. For example, the metrics mode might have been `truncate(5)` when the data was written, and later changed to `all`. In such a case, deciding that `min/max` aggregation on string columns can be pushed down based on the current metrics mode may lead to incorrect results. Refer to the test case in this PR for details.


-- 
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] Spark: Disable min/max aggregation push down for string under any mode [iceberg]

Posted by "huaxingao (via GitHub)" <gi...@apache.org>.
huaxingao merged PR #16320:
URL: https://github.com/apache/iceberg/pull/16320


-- 
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] Spark: Disable min/max aggregation push down for string under any mode [iceberg]

Posted by "hantangwangd (via GitHub)" <gi...@apache.org>.
hantangwangd commented on PR #16320:
URL: https://github.com/apache/iceberg/pull/16320#issuecomment-4444130815

   Hi @huaxingao, could you take a look at this fix when you have a chance? Thanks a lot!


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