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/06/13 07:54:00 UTC

[jira] [Commented] (IOTDB-3371) [cluster]When the alias executes the query, the information shows null

    [ https://issues.apache.org/jira/browse/IOTDB-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17553428#comment-17553428 ] 

xiaozhihong commented on IOTDB-3371:
------------------------------------

Start 3C3D and execute the following SQL, null when executing alias alias query.

IoTDB> show timeseries root.sg.d1.s3;
+-------------+-----------+-------------+--------+--------+-----------+----+----------+
|   timeseries|      alias|storage group|dataType|encoding|compression|tags|attributes|
+-------------+-----------+-------------+--------+--------+-----------+----+----------+
|root.sg.d1.s3|temperature|      root.sg|   INT32|     RLE|     SNAPPY|    |          |
+-------------+-----------+-------------+--------+--------+-----------+----+----------+
Total line number = 1
It costs 0.007s
IoTDB> select temperature from root.sg.d1;
Msg: null

> [cluster]When the alias executes the query, the information shows null
> ----------------------------------------------------------------------
>
>                 Key: IOTDB-3371
>                 URL: https://issues.apache.org/jira/browse/IOTDB-3371
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Core/Cluster, mpp-cluster
>    Affects Versions: 0.14.0-SNAPSHOT
>            Reporter: xiaozhihong
>            Assignee: Minghui Liu
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: logs.zip
>
>
> Start 3confignodes and 3 datanodes, when the alias executes the query, the information shows null.
> Like this:
> {code:java}
> IoTDB> select ** from root.sg.**;
> +-----------------------------+-------------+-------------+
> |                         Time|root.sg.d1.s1|root.sg.d1.s2|
> +-----------------------------+-------------+-------------+
> |1970-01-01T08:00:00.001+08:00|        20.12|        50.32|
> |1970-01-01T08:00:00.020+08:00|        21.44|        65.33|
> +-----------------------------+-------------+-------------+
> Total line number = 2
> It costs 0.017s
> IoTDB> select s1 as temperature, s2 as speed from root.sg.d1
> Msg: null
>  {code}
> The log information view attachment.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)