You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "刘珍 (Jira)" <ji...@apache.org> on 2022/01/05 08:18:00 UTC

[jira] [Created] (IOTDB-2271) [Aligned timeseries] Creating an unaligned timeseries under the aligned timeseries owning device succeeded

刘珍 created IOTDB-2271:
-------------------------

             Summary: [Aligned timeseries] Creating an unaligned timeseries under the aligned timeseries owning device succeeded
                 Key: IOTDB-2271
                 URL: https://issues.apache.org/jira/browse/IOTDB-2271
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Core/Server
    Affects Versions: 0.13.0
            Reporter: 刘珍
         Attachments: image-2022-01-05-16-16-46-143.png

在对齐时序所属设备下创建非对齐时序,期望失败,实际成功。
Delete storage group root.lz;
CREATE ALIGNED TIMESERIES root.lz.dev.GPS(latitude INT32 encoding=PLAIN compressor=SNAPPY, longitude INT32 encoding=PLAIN compressor=SNAPPY) ;
CREATE  TIMESERIES root.lz.dev.GPS.noalign_ts_tag with datatype=INT32 tags(tag1=v1, tag2=v2) attributes(attr1=v1, attr2=v2);

show timeseries root.lz.dev.GPS.*
+------------------------------+-----+-------------+--------+--------+-----------+-------------------------+---------------------------+
|                    timeseries|alias|storage group|dataType|encoding|compression|                     tags|                 attributes|
+------------------------------+-----+-------------+--------+--------+-----------+-------------------------+---------------------------+
|root.lz.dev.GPS.noalign_ts_tag| null|      root.lz|   INT32|     RLE|     SNAPPY|{"tag1":"v1","tag2":"v2"}|{"attr2":"v2","attr1":"v1"}|
|      root.lz.dev.GPS.latitude| null|      root.lz|   INT32|   PLAIN|     SNAPPY|                     null|                       null|
|     root.lz.dev.GPS.longitude| null|      root.lz|   INT32|   PLAIN|     SNAPPY|                     null|                       null|
+------------------------------+-----+-------------+--------+--------+-----------+-------------------------+---------------------------+
Total line number = 3

https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181307906
 !image-2022-01-05-16-16-46-143.png! 




--
This message was sent by Atlassian Jira
(v8.20.1#820001)