-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](meta) Disable infer expr column name when query on old optimizer #25317
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
[fix](meta) Disable infer expr column name when query on old optimizer #25317
Conversation
|
run buildall |
|
run buildall |
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
run buildall |
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
…izer (apache#25317) Disable infer expr column name when query on old optimizer. This bug is be brought in apache#24990 if your query SQL is select id, name, sum(target) FROM db_test.table_test2 group by id, name; the result column name when query is as following: |id|name |sum(cast(target as DOUBLE))| when you create view as following: CREATE VIEW v1 as select id, name, sum(target) FROM db_test.table_test2 group by id, name; then query the view v1, the result is as following: |id|name |__sum_2|
…izer (apache#25317) Disable infer expr column name when query on old optimizer. This bug is be brought in apache#24990 if your query SQL is select id, name, sum(target) FROM db_test.table_test2 group by id, name; the result column name when query is as following: |id|name |sum(cast(target as DOUBLE))| when you create view as following: CREATE VIEW v1 as select id, name, sum(target) FROM db_test.table_test2 group by id, name; then query the view v1, the result is as following: |id|name |__sum_2|
Proposed changes
Disable infer expr column name when query on old optimizer.
This bug is be brought in #24990
Further comments
if your query SQL is
select id, name, sum(target) FROM db_test.table_test2 group by id, name;the result column name when query is as following:
id|name |sum(cast(target as DOUBLE))|when you create view as following:
CREATE VIEW v1 as select id, name, sum(target) FROM db_test.table_test2 group by id, name;then query the view v1, the result is as following:
id|name |__sum_2|