Github user l00357089 commented on the pull request:
https://github.com/apache/spark/pull/9588#issuecomment-155632201
@dilipbiswal I know what you mean, but this behavior confuses users and
there should be some improvements in spark. I checked the code in consitent
parts and found something. In spark sql, it is overrideCatalog that for
temporary tables and hivemetaStoreCatalog for tables from metastore. So, maybe
we can firstly register temporary tables to overrideCatalog and then
distinguish those from tables in metastore. Actually, I have written some code
but it turned out to be the same result as your patch's. Hope you can solve
this problem.
---
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]