ajantha-bhat commented on issue #6549: URL: https://github.com/apache/iceberg/issues/6549#issuecomment-1378341579
> Spark currently doesn't use partition-level stats in CBO. > The current implementation of Spark CBO only needs the table level NDV. File-level sketches could be useful for future optimization though. Interesting. Usually, the tables used in real-time applications are partitioned and most of the query filters are on the partition column. Hence I thought partition-level stats are more useful than table-level stats. But yeah, need more time for engines to adopt it I guess. Currently, Dremio uses partition stats. -- 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]
