-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimizer bug fix: don't prune any columns whose aliases are used in …
…the where filter or join on condition No tests currently trigger this bug, and there might not be any production use cases that would encounter it. But the new logic added in this PR would trigger this bug. We would apply a where filter to the time spine table, the optimizer would remove the select column, and then we would get a SQL error for the optimized query because the column used in the filter does not exist.
- Loading branch information
1 parent
a773399
commit a5d2570
Showing
2 changed files
with
99 additions
and
3 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