Github user wzhfy commented on the issue:
https://github.com/apache/spark/pull/16228
I still leave two issues undecided:
1. Where can we turn on/off cbo estimation? I think we need to have such
switch, because otherwise we will use statistics as long as they are in the
metastore, but they can become stale.
2. Currently we use column name as the key for column statistics, which is
problematic because if the output of join have columns from different tables
with the same column name, they can't be distinguished. Can we use a
combination string like table name + column name? Will it have problem in case
of table alias?
---
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]