You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "wangmiao1002 (via GitHub)" <gi...@apache.org> on 2025/10/15 08:36:09 UTC
[I] [Enhancement] (sql-dialect) MAP_KEYS function conversion failed [doris]
wangmiao1002 opened a new issue, #56993:
URL: https://github.com/apache/doris/issues/56993
### Search before asking
- [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
### Description
<img width="1410" height="605" alt="Image" src="https://github.com/user-attachments/assets/c417689f-1141-499e-8729-02aff666fb28" />
### Solution
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
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: commits-unsubscribe@doris.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [I] [Enhancement] (sql-dialect) MAP_KEYS function conversion failed [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #56993:
URL: https://github.com/apache/doris/issues/56993#issuecomment-5008789243
We're closing this issue because it hasn't been updated in a while.
If you'd like to revive this issue, please reopen it and feel free a maintainer to remove the Stale tag!
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [I] [Enhancement] (sql-dialect) MAP_KEYS function conversion failed [doris]
Posted by "XiaoLiang428 (via GitHub)" <gi...@apache.org>.
XiaoLiang428 commented on issue #56993:
URL: https://github.com/apache/doris/issues/56993#issuecomment-3765087121
不是SQL语言转换工具的问题,是Hive的map_keys返回类型与Doris当前支持的语义不兼容,因此执行阶段Doris解析失败。在Doris中MAP_KEYS在被支持的版本中返回类型是ARRAY,在Doris场景下ARRAU不能直接作为SELECT列输出。因此在Doris中的正确写法应该是
SELECT
k AS dsfs
FROM test.aaa a
LATERAL VIEW explode(map_keys(a.change_his_dt)) t AS k;
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [I] [Enhancement] (sql-dialect) MAP_KEYS function conversion failed [doris]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #56993: [Enhancement] (sql-dialect) MAP_KEYS function conversion failed
URL: https://github.com/apache/doris/issues/56993
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org