-
Notifications
You must be signed in to change notification settings - Fork 76
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
removed check for prefix so we can fallback to empty #174
Conversation
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.
It almost looks... too.... easy!
CHANGELOG.md
Outdated
### Changed | ||
* Changed a prefixed *primary* metastore to fallback to 'empty prefix' if nothing specified. See [#173](https://github.com/HotelsDotCom/waggle-dance/issues/173). | ||
|
||
|
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.
Two new lines 😱
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.
(although it's not visible in the formatted version :) )
...to easy indeed. Found a conundrum in UDFs. We need to choose either list functions prefixed and non-prefixed or force prefixed UDFs only. Thoughts/preferences anyone? |
We need to choose either list functions prefixed and non-prefixed or force prefixed UDFs only. Thoughts/preferences anyone? I think I prefer showing both in |
The problem with showing both (same when showing both db's) is that it looks weird and user might think hey that looks wrong I'll delete on (which will delete both). :( |
True. But deleting a function is not as big of a problem compared to deleting a table or database. Out of the two options, if you choose the one where you force people to use prefix, again the issue of backward compatibility will arise and also a user will be confused that for everything else my query works but for functions, its not working. I feel it's inconsistent from an end-user perspective. Also (I am guessing here) |
Remind me what happens when one does "show databases" in this case - do we only see the prefixed ones? |
yes. |
… prefixes for seemless fallback
fixes #173