Github user wzhfy commented on the issue: https://github.com/apache/spark/pull/18334 @rxin Currently we are re-calculating the stats. If we want to support incremental stats update, we may need to maintain some specific data structures. e.g. for ndv in column stats, store data structure for `HyperLogLogPlusPlus`. These structures are stored per column and table, which could cause considerable memory cost if stored in memory (and nonpersistent). If we want to persist them, there's also a problem given that currently metastore doesn't provide such APIs.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org