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

Ensure aggregate functions enforce the column is from the right table #706

Closed

Conversation

sgrif
Copy link
Member

@sgrif sgrif commented Feb 15, 2017

While working on #621, I noticed that these impls were incorrect and
could be used to compile an incorrect query. I've corrected the impls
and added the appropriate compile-fail test.

I'm not sure if this was just an oversight or if I intentionally did
this to avoid nullability somewhere. The latter is no longer relevant
since we always make these expressions nullable now.

While working on #621, I noticed that these impls were incorrect and
could be used to compile an incorrect query. I've corrected the impls
and added the appropriate compile-fail test.

I'm not sure if this was just an oversight or if I intentionally did
this to avoid nullability somewhere. The latter is no longer relevant
since we always make these expressions nullable now.
@sgrif sgrif requested a review from killercup February 15, 2017 13:33
@sgrif
Copy link
Member Author

sgrif commented Feb 15, 2017

Blame points to 58b59e9, so I'm guessing it was just an oversight. I should have pressed for a compile-fail test.

@sgrif
Copy link
Member Author

sgrif commented Feb 15, 2017

Rolled up into #709.

@sgrif sgrif closed this Feb 15, 2017
@sgrif sgrif deleted the sg-ensure-selectable-expression-for-aggregate-functions branch February 16, 2017 17:55
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.

1 participant