-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Improvement]: Support terminal access hive table when switch to a catalog with HMS metastore . #1266
Comments
I suggest to change the title to
Because that is the real problem that we want to solve, and using ArcticSparkSessionCatalog is a feasible way to do this. |
I had thought about this feature, it's not easy to solve in mulit catalogs situation. The AMS creates the spark context in it's process and the spark engine could only create one spark context in each process, it's hard to create 2 different catalog using ArcticSparkSessionCatalog. But on the other hand, 90% users only have one catalog, I think it is valuable to solve the feature with only one catalog. I suggest to solve this issue in this way.
Both
|
thanks for your suggestions, I will try to fix it as you said |
Search before asking
What would you like to be improved?
use ArcticSparkSessionCatalog for terminal when user use hive type catalog, then at terminal we run sql for origin hive tables.
How should we improve?
there are few issues need to resolve here:
to resolve these two issue:
1、when setting spark conf befor start terminal session, we can replace the catalog name to spark_catalog.
2、we need to limit the user not contain the catalog name for current catalog at the sql script.
Are you willing to submit PR?
Yes I am willing to submit a PR!
Subtasks
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered: