You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "xiaozhihong (Jira)" <ji...@apache.org> on 2022/10/20 05:41:00 UTC
[jira] [Commented] (IOTDB-3818) Support nested expressions in GROUP BY LEVEL
[ https://issues.apache.org/jira/browse/IOTDB-3818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620752#comment-17620752 ]
xiaozhihong commented on IOTDB-3818:
------------------------------------
!image-2022-10-20-13-40-36-909.png!
> Support nested expressions in GROUP BY LEVEL
> --------------------------------------------
>
> Key: IOTDB-3818
> URL: https://issues.apache.org/jira/browse/IOTDB-3818
> Project: Apache IoTDB
> Issue Type: Bug
> Components: mpp-cluster
> Affects Versions: 0.14.0-SNAPSHOT
> Reporter: xiaozhihong
> Assignee: Minghui Liu
> Priority: Major
> Labels: pull-request-available
> Attachments: image-2022-10-20-13-40-36-909.png
>
>
> Start 1 confignode and 1 DataNode.
> Nested expressions are not supported in group by level queries, and the returned status is incorrect.
> like this:
> {code:java}
> IoTDB> select avg(s1) + avg(s2) from root.sg.* group by level=1;
> Msg: 500: [INTERNAL_SERVER_ERROR(500)] Exception occurred: "select avg(s1) + avg(s2) from root.sg.* group by level=1". executeStatement failed. Index 0 out of bounds for length 0
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)