Skip to content

feat: consolidate JoinType into a top-level enum#795

Closed
vbarua wants to merge 1 commit intomainfrom
vbarua/consolidate-join-type
Closed

feat: consolidate JoinType into a top-level enum#795
vbarua wants to merge 1 commit intomainfrom
vbarua/consolidate-join-type

Conversation

@vbarua
Copy link
Copy Markdown
Member

@vbarua vbarua commented Mar 19, 2025

No description provided.

@vbarua
Copy link
Copy Markdown
Member Author

vbarua commented Mar 19, 2025

I noticed that we had 4 different definitions of the same enum, and thought it would be better to factor it out. I believe this is binary compatible, though I want to confirm that.

@yongchul
Copy link
Copy Markdown
Contributor

@vbarua it is binary compatible. Any reason to hold back this change? This is a good cleanup IMO.

@jcamachor
Copy link
Copy Markdown
Contributor

Thanks, @vbarua . Is there any remaining work or anything we can help with to get this PR merged? Any concerns about merging it? While this is a backwards-incompatible change, it'd be great to get this consolidation in place soon.

@yongchul
Copy link
Copy Markdown
Contributor

Oh... I didn't realize that the enum values actually don't match! :( As @jcamachor said, I still think this is a necessary breaking change to keep things in consistent state.

@vbarua
Copy link
Copy Markdown
Member Author

vbarua commented Apr 14, 2025

I'm focusing on substrait-io/substrait-go#128, which is actually somewhat related to my ability to check this.

didn't realize that the enum values actually don't match!

The other way to do this would to via slow migration, adding second field joint type field alongside the original ones (which we deprecate), have them co-exist for a number of versions, and then remove the old fields.

@jcamachor
Copy link
Copy Markdown
Contributor

Thanks, @vbarua . I think the gradual migration approach you're suggesting is less disruptive and should help unblock this PR.

Copy link
Copy Markdown
Member

@benbellick benbellick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great cleanup and we should definitely try and get this in! 👍 on just doing a gentle migration by introducing a new field as long as we make a good effort to mark up everything old as deprecated.

@github-actions
Copy link
Copy Markdown

This PR has been automatically marked as stale because it has not had
recent activity. It will be closed in 7 days if no further activity occurs.

@github-actions github-actions Bot added the Stale label Jan 22, 2026
@github-actions
Copy link
Copy Markdown

This PR has been automatically closed due to inactivity.
If you believe this was closed in error, please reopen it.

@github-actions github-actions Bot closed this Jan 29, 2026
@nielspardon nielspardon deleted the vbarua/consolidate-join-type branch April 16, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants