amorynan opened a new pull request, #39757:
URL: https://github.com/apache/doris/pull/39757
## 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.-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]