-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid changing expression names during constant folding (#1319)
* Avoid changing output column name before pushdown projection. * Avoid early optimization which is duplicate. * Modify test. * Revert "Modify test." This reverts commit ebf67d3. * Revert "Avoid early optimization which is duplicate." This reverts commit fe8445d. * Add aliases during constant folding. * Some expressions don't support name. * Don't create redundant alias. * Only add alias for certain plans. * Fix clippy. * Fix. * Revert "Fix." This reverts commit d767aeb. * Apply to all nodes and update tests. * Unalias when push donw to TableScan. * Update more tests. * Remove previous change.
- Loading branch information
Showing
5 changed files
with
82 additions
and
40 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
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
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