-
Notifications
You must be signed in to change notification settings - Fork 166
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
feat: add advanced extension field to DdlRel, WriteRel, and UpdateRel #766
Conversation
What are general thoughts on creating field here versus the one already available in RelCommon? RelCommon is kind of like an abstract superclass (if you will) except that protobuf makes you invert the construction. |
Thanks, @jacques-n . I was trying to follow the pattern used for other operators. My assumption was that both fields are included because it allows to have an extension implementation common to all operators (the one under RelCommon) as well as an extension specific to a given operator. |
Fair. I think we never really figured it out and it shows. |
The one problem I struggle with is the in relation location means these are by default semantic changing so a system receiving something at this position must understand or fail the query. The benefit of using inside hint of relcommon is that an engine can ignore if it likes. |
Isn't it the case that whether these extensions are semantic changing by default depends on whether we use the |
This reverts commit a977d41.
lol. yes. |
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.
Overall looks reasonable to me. This brings these inline with all the other rels which also have AdvancedExtensions available.
I did leave some comments about the field number we're using. I don't know if it makes sense to reserve fields as opposed to just using the next available one.
Thanks, @vbarua . For this, I used the same convention that I observed in extensions defined in other ops. Maybe let's reach consensus with other committers before I change it? @jacques-n , any preferences? |
@vbarua , @jacques-n , how do you think we should proceed here? Thanks |
I have updated the field numbers. |
I agree with @vbarua that we should just use next available. I didn't notice that on my review. It looks like we're still using not-next? |
In the most recent commit, I changed it to use next available value. |
@jacques-n , @vbarua , all feedback has been addressed, could we merge this change? (I believe current check failure is unrelated to this change but I'm not super familiar with it.) Thanks |
No description provided.