Github user cloud-fan commented on the issue:
https://github.com/apache/spark/pull/14712
My proposal is: Like data source table metadata, we store the table
statistics using different names from hive, if the statistics is hive
compatible, like row count, we also store the corresponding hive entries. In
this way, we won't be affected by possible hive metastore bugs, and hive can
also recognize table statistics generated by spark.
When we read in a hive table, if its statistics already exists but in hive
format, we can generate the corresponding spark sql entries. Then spark sql can
also recognize table statistics generated by hive.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]