Skip to content
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

join table functions #1405

Merged
merged 2 commits into from
Nov 15, 2022
Merged

join table functions #1405

merged 2 commits into from
Nov 15, 2022

Conversation

max-hoffman
Copy link
Contributor

@max-hoffman max-hoffman commented Nov 15, 2022

tests here: dolthub/dolt#4795

The main correctness risk here is if any integrator table functions do not commute/associate during join reordering. We already manually handle JSON_TABLE, but there could be others.

Copy link
Contributor

@fulghum fulghum left a comment

Choose a reason for hiding this comment

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

Looks good! ⚡

@max-hoffman max-hoffman merged commit bff1004 into main Nov 15, 2022
@PavelSafronov
Copy link
Contributor

Looks like this made direct changes to the generated file sql/analyzer/memo.og.go
This is causing issues when we next try to run go generate ./..., since tableFunc is removed, and the build fails.

@max-hoffman
Copy link
Contributor Author

Looks like this made direct changes to the generated file sql/analyzer/memo.og.go This is causing issues when we next try to run go generate ./..., since tableFunc is removed, and the build fails.

good catch #1428

@max-hoffman max-hoffman deleted the max/join-table-functions branch November 29, 2022 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants