-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix aliasing of fields in mask expressions
This causes two problems: * Masks can inadvertently refer to columns that appear earlier in the list of columns as the projection is planned. This causes the mask expression to see the masked value of other columns instead of the underlying value * A possible bug in other optimizers causes mask expressions to be lost when the result of a such an expression is of type ROW and there's a dereference of a field downstream
- Loading branch information
Showing
2 changed files
with
59 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters