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

Update sort node to use alias reference when it will resolve missing columns #1352

Merged
merged 9 commits into from Oct 27, 2022

Conversation

fulghum
Copy link
Contributor

@fulghum fulghum commented Oct 26, 2022

Fixes: dolthub/dolt#3016

Other changes:

  • Refactors the existing OrderBy/GroupBy tests into a ScriptTest.
  • Introduces a new interface, sql.Projector, that unites GroupBy, Window, and Project if a caller just needs to get the projected expressions.

sql/analyzer/aliases.go Outdated Show resolved Hide resolved
sql/analyzer/resolve_orderby.go Show resolved Hide resolved
fulghum and others added 2 commits October 26, 2022 16:11
Co-authored-by: Maximilian Hoffman <max@dolthub.com>
Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

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

LGTM!

sql/analyzer/resolve_orderby.go Outdated Show resolved Hide resolved
sql/core.go Show resolved Hide resolved
@fulghum fulghum merged commit 0079093 into main Oct 27, 2022
@Hydrocharged Hydrocharged deleted the fulghum/analyzer-aliases branch March 29, 2023 01:09
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.

Strange error with Large Join Query
2 participants