Hi,

+1 from committer :)

I checked:

- Download links                                 (ok)
- Signatures and hashes                          (ok)
- Compile from source                            (ok)
- LICENSE and NOTICE                             (ok)
- Start in mac openJDK8 and openJDK11            (ok)
- The following statements executed successfully (ok)

create timeseries root.turbine.d0.s0(temperature) with datatype=FLOAT, 
encoding=RLE, compression=SNAPPY tags(unit=f, description='turbine this is a 
test1') attributes(H_Alarm=100, M_Alarm=50);

create timeseries root.turbine.d0.s1(power) with datatype=FLOAT, encoding=RLE, 
compression=SNAPPY tags(unit=kw, description='turbine this is a test2') 
attributes(H_Alarm=99.9, M_Alarm=44.4);

create timeseries root.turbine.d1.s0(status) with datatype=INT32, encoding=RLE 
tags(description='turbine this is a test3') attributes(H_Alarm=9, M_Alarm=5);

create timeseries root.turbine.d2.s0(temperature) with datatype=FLOAT, 
encoding=RLE, compression=SNAPPY tags(unit=f, description='turbine d2 this is a 
test1') attributes(MaxValue=100, MinValue=1);

create timeseries root.turbine.d2.s1(power) with datatype=FLOAT, encoding=RLE, 
compression=SNAPPY tags(unit=kw, description='turbine d2 this is a test2') 
attributes(MaxValue=99.9, MinValue=44.4);

create timeseries root.turbine.d2.s3(status) with datatype=INT32, encoding=RLE 
tags(description='turbine d2 this is a test3') attributes(MaxValue=9, 
MinValue=5);

create timeseries root.ln.d0.s0(temperature) with datatype=FLOAT, encoding=RLE, 
compression=SNAPPY tags(unit=c, description='ln this is a test1') 
attributes(H_Alarm=1000, M_Alarm=500);

create timeseries root.ln.d0.s1(power) with datatype=FLOAT, encoding=RLE, 
compression=SNAPPY tags(unit=w, description='ln this is a test2') 
attributes(H_Alarm=9.9, M_Alarm=4.4);

create timeseries root.ln.d1.s0(status) with datatype=INT32, encoding=RLE 
tags(description='ln this is a test3') attributes(H_Alarm=90, M_Alarm=50);

show timeseries where unit=f;

I can get the following results

+------------------+-----------+-------------+--------+--------+-----------+-------------------------------------------------------+---------------------------------+
|        timeseries|      alias|storage group|dataType|encoding|compression|    
                                               tags|                       
attributes|
+------------------+-----------+-------------+--------+--------+-----------+-------------------------------------------------------+---------------------------------+
|root.turbine.d0.s0|temperature| root.turbine|   FLOAT|     RLE|     SNAPPY|   
{"description":"turbine this is a test1","unit":"f"}| 
{"H_Alarm":"100","M_Alarm":"50"}|
|root.turbine.d2.s0|temperature| root.turbine|   FLOAT|     RLE|     
SNAPPY|{"description":"turbine d2 this is a 
test1","unit":"f"}|{"MinValue":"1","MaxValue":"100"}|
+------------------+-----------+-------------+--------+--------+-----------+-------------------------------------------------------+---------------------------------+



Best,
---------------
Yuan Tian

Reply via email to