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

   ### Feature Request / Improvement
   
   NDV is important information for query optimization. Currently, Trino 
calculates NDV statistics during analyzing table and writes NDV statistics to 
the Iceberg puffin file. These NDV statistics are used by the Trino query 
optimizer to find the best query plan.  However, iceberg table level NDV is not 
collected and used by Spark engine yet. I have a 
[proposal](https://docs.google.com/document/d/1ZvTw9G2rLuETREC1MCoZubvHo2SpwTpEz_58F9jy07I/edit)
 to collect iceberg NDV for Spark engine so this info can be used for Spark 
query optimization. 
   
   ### Query engine
   
   Spark


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

Reply via email to