-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[hive] In hiveCatalog we do not need catalog.warehouse config #2408
[hive] In hiveCatalog we do not need catalog.warehouse config #2408
Conversation
gentle ping @JingsongLi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you modify CatalogFactory.createCatalog
too? warehousePath and FileIO can be nullable.
And if the warehouse is null, we can get warehouse from HiveConf
?
I think the correct way is |
And we need to enrich warehouse path to default scheme of conf if the path does not contain scheme. |
It is a good choice, but if we do it like this, we should let user set hive-conf-dir or set env HIVE_CONF_DIR or putting hive-site.xml into classapth. |
I will do it later. |
a0cde26
to
af17796
Compare
af17796
to
a41caa8
Compare
done @JingsongLi |
Hi @monkeyboy123 , can you take a look to #2432 , is that satisfy your requirement? |
I will take a look later. |
Purpose
Linked issue: close #2407
In hiveCatalog we do not need catalog.warehouse config, it makes confused
Tests
API and Format
Documentation