-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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](table-func) fix explode_map with alias #39757
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
buildall |
run buildall |
TPC-H: Total hot run time: 37889 ms
|
TPC-DS: Total hot run time: 192670 ms
|
ClickBench: Total hot run time: 30.57 s
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
## Proposed changes backport: #39757 Issue Number: close #xxx <!--Describe your changes.-->
## Proposed changes when we use sql ``` select a.name, tmp.k, tmp.v from ( select 'zhangsan' name, map(1,20,2,30) score )a lateral view explode_map(score) tmp as k,v; errCode = 2, detailMessage = Unknown table 'v' ``` after this pr: ``` mysql> select a.name, tmp.k, tmp.v from ( select 'zhangsan' name, map(1,20,2,30) score )a lateral view explode_map(score) tmp as k,v; +----------+------+------+ | name | k | v | +----------+------+------+ | zhangsan | 1 | 20 | | zhangsan | 2 | 30 | +----------+------+------+ 2 rows in set (0.31 sec) ``` Issue Number: close #xxx <!--Describe your changes.-->
Proposed changes
when we use sql
after this pr:
Issue Number: close #xxx