try to remove redundant alias in expression rewriter and select#20867
try to remove redundant alias in expression rewriter and select#20867buraksenn wants to merge 2 commits intoapache:mainfrom
Conversation
|
run benchmarks |
|
🤖 Hi @buraksenn, thanks for the request (#20867 (comment)). |
|
I think clickbench plan changes are ok but tried to run benchmark to make sure regressions |
|
run benchmarks |
|
🤖 |
|
🤖: Benchmark completed Details
|
|
There is no notable change then can we say this only removes redundant alias and has no bad side effects? |
Yes that is my conclusion as well |
alamb
left a comment
There was a problem hiding this comment.
Looks good to me -- thank you @buraksenn
Which issue does this PR close?
Not closes
Rationale for this change
In #20780 (comment) @alamb mentioned whether we can remove redundant alias of
count(*) AS count(*)tocount(*)and I tried to give this a go.I'm not sure about the implications at the moment it would be great to have input on this PR
What changes are included in this PR?
Main changes are in:
Are these changes tested?
I've added some tests for alias. Existing tests and plan outputs changed as well you can see in the PR.
Are there any user-facing changes?
Plans will change but not sure if it has impact