-
Notifications
You must be signed in to change notification settings - Fork 3k
Core: Remove credentials from LoadViewResponse #11432
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
Core: Remove credentials from LoadViewResponse #11432
Conversation
|
@nastra can you please add some pr description, as to why are we removing this ? |
|
This change was added 2 weeks ago to the Load Table View api, @amogh-jahagirdar was the reviewer. Since this wasn't in any released code I am good with removing it now since we can always add it back later. If @amogh-jahagirdar signs off I'm good to merge. |
jbonofre
left a comment
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.
As discussed during the catalog sync-up meeting today, this PR makes sense to me.
|
|
||
| Map<String, String> config(); | ||
|
|
||
| @Value.Default |
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.
As the credentials() method didn't exist in previous releases (it has been introduced recently), and as it can be problematic for "secure views", I think it makes sense to remove it before 1.7 release.
amogh-jahagirdar
left a comment
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.
Yeah adding credentials for views in this manner complicates the protocol if we want to later add secure views, I'm good with the removal here!
singhpk234
left a comment
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.
LGTM, as well, Thanks @nastra !
Thank you for the context @RussellSpitzer !
|
Thanks @nastra ! and Thanks @RussellSpitzer @jbonofre @danielcweeks @singhpk234 for reviewing, I'll just go ahead and merge |
The original idea why credentials were added to
LoadViewResponsewas to pass back the credentials to the table that the view is referencing. However, we actually want to wait with this until we have the use case fully defined on how this will work and want to remove the functionality for now, as otherwise we'd have to maintain reading/writing credentials inLoadViewResponseforever.We'll we sharing a separate proposal on how to realize this shortly on the mailing list.