ajantha-bhat commented on issue #6442:
URL: https://github.com/apache/iceberg/issues/6442#issuecomment-1357221410

   > but some query engines (like Trino) can collect stats on the fly, when 
writing to a table (INSERT, CREATE TABLE AS ...).
   
   I think we have discussed this for partitions stats too. 
   @rdblue mentioned we cannot have writers to write stats on the fly (with 
insert, CTAS, update), because it needs bumping the Iceberg spec to V3 as some 
writers will write stats and some writer will not write stats and it can cause 
inconsistency. 
   
   we agreed on using ANALYZE syntax or procedure for generating stats until V3 
format is ready.  


-- 
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-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to