-
Notifications
You must be signed in to change notification settings - Fork 188
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
(fix): Handle lowercase storage types in JSON payload for create cata… #1022
base: main
Are you sure you want to change the base?
Conversation
It feels like we could also have this apply to other fields, like Anyway, this more or less LGTM |
service/common/src/main/java/org/apache/polaris/service/config/Serializers.java
Outdated
Show resolved
Hide resolved
Totally makes sense wherever possible. Adding |
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.
I don't think that the meaning of such IDs should be altered anywhere - especially not for a single request but not others. It's quite dangerous and frankly brittle.
IDs are well-defined, I'd recommend to just use the right IDs.
How is this "dangerous"? |
It's pretty obvious that this change handles this ID-case-insensitivity only for one specific REST request, right? Therefore my -1 on this change. |
Sorry, I wasn't sure how to interpret But what does this mean? Can you be more specific?
|
Handle lowercase storage types in JSON payload for create catalogs. This fix allows the catalog request to be of the form
(or)
And lowercase storage types will be uppercased for consistency while deser.
Fix: #996