You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "caibandao (via GitHub)" <gi...@apache.org> on 2026/03/30 09:08:33 UTC
[D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
GitHub user caibandao created a discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
我在使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,发现只有显示元数据,查询不到时序数据内容,
有大神能指点一下问题所在吗?
查询如下:
IoTDB> SELECT * FROM root.sg1.* WHERE Time == 0
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
|Time|root.sg1.substation_meas.YearAuxiEng|root.sg1.substation_meas.GrdPntFrqncy|root.sg1.substation_meas.TotActPwr|root.sg1.substation_meas.TotChrCap|root.sg1.substation_meas.mRID|root.sg1.substation_meas.file|root.sg1.substation_meas.MaxChrPwr|root.sg1.substation_meas.Genflt|root.sg1.substation_meas.DayDischrgEng|root.sg1.substation_meas.Version|root.sg1.substation_meas.SOClow|root.sg1.substation_meas.DayChrEng|root.sg1.substation_meas.DayAuxiEng|root.sg1.substation_meas.SOChigh|root.sg1.substation_meas.TotChrEng|root.sg1.substation_meas.SOC|root.sg1.substation_meas.TotAblCap|root.sg1.substation_meas.TotAppPwr|root.sg1.substation_meas.RunState|root.sg1.substation_meas.MonthAuxiEng|root.sg1.substation_meas.TotAuxiEng|root.sg1.substation_meas.Commstate|root.sg1.substation_meas.TotDischrgEng|root.sg1.substation_meas.MaxDischrgPwr|root.sg1.substation_meas.avaPCSNum|root.sg1.substation_meas.ActPwrDC|root.sg1.substation_meas.ts|
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
Empty set.
It costs 0.038s
使用自带的工具打印tsfile文件内容如下:
---------------------
Starting Printing the TsFile Sketch
---------------------
TsFile path:../../../EMS_tsfile/EMS_tsfile/src/cbin/ems.tsfile
Sketch save path:TsFile_sketch_view.txt
343 [main] WARN o.a.t.common.conf.TSFileDescriptor - not found iotdb-system.properties, use the default configs.
-------------------------------- TsFile Sketch --------------------------------
file path: ../../../EMS_tsfile/EMS_tsfile/src/cbin/ems.tsfile
file length: 3141
POSITION| CONTENT
-------- -------
0| [magic head] TsFile
6| [version number] 4
||||||||||||||||||||| [Chunk Group] of root.sg1.substation_meas, num of Chunks:27
7| [Chunk Group Header]
| [marker] 0
| [deviceID] root.sg1.substation_meas
34| [Chunk] of root.sg1.substation_meas.ActPwrDC, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=ActPwrDC, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
79| [Chunk] of root.sg1.substation_meas.Commstate, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [chunk header] marker=5, measurementID=Commstate, dataSize=28, dataType=INT32, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:26, CompressedSize:26
122| [Chunk] of root.sg1.substation_meas.DayAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
169| [Chunk] of root.sg1.substation_meas.DayChrEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayChrEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
215| [Chunk] of root.sg1.substation_meas.DayDischrgEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayDischrgEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
265| [Chunk] of root.sg1.substation_meas.Genflt, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [chunk header] marker=5, measurementID=Genflt, dataSize=28, dataType=INT32, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:26, CompressedSize:26
305| [Chunk] of root.sg1.substation_meas.GrdPntFrqncy, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=GrdPntFrqncy, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
354| [Chunk] of root.sg1.substation_meas.MaxChrPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MaxChrPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
400| [Chunk] of root.sg1.substation_meas.MaxDischrgPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MaxDischrgPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
450| [Chunk] of root.sg1.substation_meas.MonthAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MonthAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
499| [Chunk] of root.sg1.substation_meas.RunState, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=RunState, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
544| [Chunk] of root.sg1.substation_meas.SOC, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOC, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
584| [Chunk] of root.sg1.substation_meas.SOChigh, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOChigh, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
628| [Chunk] of root.sg1.substation_meas.SOClow, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOClow, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
671| [Chunk] of root.sg1.substation_meas.TotAblCap, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAblCap, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
717| [Chunk] of root.sg1.substation_meas.TotActPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotActPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
763| [Chunk] of root.sg1.substation_meas.TotAppPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAppPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
809| [Chunk] of root.sg1.substation_meas.TotAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
856| [Chunk] of root.sg1.substation_meas.TotChrCap, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotChrCap, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
902| [Chunk] of root.sg1.substation_meas.TotChrEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotChrEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
948| [Chunk] of root.sg1.substation_meas.TotDischrgEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotDischrgEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
998| [Chunk] of root.sg1.substation_meas.Version, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:V1.0.0,lastValue:V1.0.0]
| [chunk header] marker=5, measurementID=Version, dataSize=39, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:32, CompressedSize:37
1050| [Chunk] of root.sg1.substation_meas.YearAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=YearAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
1098| [Chunk] of root.sg1.substation_meas.avaPCSNum, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=avaPCSNum, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
1144| [Chunk] of root.sg1.substation_meas.file, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:ems,lastValue:ems]
| [chunk header] marker=5, measurementID=file, dataSize=36, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:34
1190| [Chunk] of root.sg1.substation_meas.mRID, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:1,lastValue:1]
| [chunk header] marker=5, measurementID=mRID, dataSize=34, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:27, CompressedSize:32
1234| [Chunk] of root.sg1.substation_meas.ts, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:1774593116065,maxValue:1774593116065,firstValue:1774593116065,lastValue:1774593116065,sumValue:1.774593116065E12]
| [chunk header] marker=5, measurementID=ts, dataSize=22, dataType=INT64, compressionType=LZ4, encodingType=PLAIN
| [page] UncompressedSize:33, CompressedSize:20
||||||||||||||||||||| [Chunk Group] of root.sg1.substation_meas ends
1281| [marker] 2
1282| [TimeseriesIndex] of root.sg1.substation_meas.ActPwrDC, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=34
1343| [TimeseriesIndex] of root.sg1.substation_meas.Commstate, tsDataType:INT32, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [ChunkIndex] offset=79
1405| [TimeseriesIndex] of root.sg1.substation_meas.DayAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=122
1468| [TimeseriesIndex] of root.sg1.substation_meas.DayChrEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=169
1530| [TimeseriesIndex] of root.sg1.substation_meas.DayDischrgEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=215
1596| [TimeseriesIndex] of root.sg1.substation_meas.Genflt, tsDataType:INT32, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [ChunkIndex] offset=265
1655| [TimeseriesIndex] of root.sg1.substation_meas.GrdPntFrqncy, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=305
1720| [TimeseriesIndex] of root.sg1.substation_meas.MaxChrPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=354
1782| [TimeseriesIndex] of root.sg1.substation_meas.MaxDischrgPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=400
1848| [TimeseriesIndex] of root.sg1.substation_meas.MonthAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=450
1913| [TimeseriesIndex] of root.sg1.substation_meas.RunState, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=499
1974| [TimeseriesIndex] of root.sg1.substation_meas.SOC, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=544
2030| [TimeseriesIndex] of root.sg1.substation_meas.SOChigh, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=584
2090| [TimeseriesIndex] of root.sg1.substation_meas.SOClow, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=628
2149| [TimeseriesIndex] of root.sg1.substation_meas.TotAblCap, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=671
2211| [TimeseriesIndex] of root.sg1.substation_meas.TotActPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=717
2273| [TimeseriesIndex] of root.sg1.substation_meas.TotAppPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=763
2335| [TimeseriesIndex] of root.sg1.substation_meas.TotAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=809
2398| [TimeseriesIndex] of root.sg1.substation_meas.TotChrCap, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=856
2460| [TimeseriesIndex] of root.sg1.substation_meas.TotChrEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=902
2522| [TimeseriesIndex] of root.sg1.substation_meas.TotDischrgEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=948
2588| [TimeseriesIndex] of root.sg1.substation_meas.Version, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:V1.0.0,lastValue:V1.0.0]
| [ChunkIndex] offset=998
2644| [TimeseriesIndex] of root.sg1.substation_meas.YearAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=1050
2708| [TimeseriesIndex] of root.sg1.substation_meas.avaPCSNum, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=1098
2770| [TimeseriesIndex] of root.sg1.substation_meas.file, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:ems,lastValue:ems]
| [ChunkIndex] offset=1144
2817| [TimeseriesIndex] of root.sg1.substation_meas.mRID, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:1,lastValue:1]
| [ChunkIndex] offset=1190
2860| [TimeseriesIndex] of root.sg1.substation_meas.ts, tsDataType:INT64, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:1774593116065,maxValue:1774593116065,firstValue:1774593116065,lastValue:1774593116065,sumValue:1.774593116065E12]
| [ChunkIndex] offset=1234
2931| [IndexOfTimerseriesIndex Node] type=LEAF_MEASUREMENT
| <ActPwrDC, 1282>
| <endOffset, 2931>
||||||||||||||||||||| [TsFileMetadata] begins
2958| [IndexOfTimerseriesIndex Node] type=LEAF_DEVICE
| <root.sg1.substation_meas, 2931>
| <endOffset, 2958>
| [meta offset] 1281
| [bloom filter] bit vector byte array length=32, filterSize=256, hashFunctionSize=5
||||||||||||||||||||| [TsFileMetadata] ends
3131| [TsFileMetadataSize] 173
3135| [magic tail] TsFile
3141| END of TsFile
---------------------------- IndexOfTimerseriesIndex Tree -----------------------------
[MetadataIndex:LEAF_DEVICE]
└──────[root.sg1.substation_meas,2931]
[MetadataIndex:LEAF_MEASUREMENT]
└──────[ActPwrDC,1282]
---------------------------------- TsFile Sketch End ----------------------------------
GitHub link: https://github.com/apache/iotdb/discussions/17392
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "caibandao (via GitHub)" <gi...@apache.org>.
GitHub user caibandao added a comment to the discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
好的,感谢两位大神哈~
GitHub link: https://github.com/apache/iotdb/discussions/17392#discussioncomment-16379768
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "caibandao (via GitHub)" <gi...@apache.org>.
GitHub user caibandao edited a discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
我在使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,发现只有显示元数据,查询不到时序数据内容,
有大神能指点一下问题所在吗?
查询如下:
```
IoTDB> SELECT * FROM root.sg1.* WHERE Time == 0
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
|Time|root.sg1.substation_meas.YearAuxiEng|root.sg1.substation_meas.GrdPntFrqncy|root.sg1.substation_meas.TotActPwr|root.sg1.substation_meas.TotChrCap|root.sg1.substation_meas.mRID|root.sg1.substation_meas.file|root.sg1.substation_meas.MaxChrPwr|root.sg1.substation_meas.Genflt|root.sg1.substation_meas.DayDischrgEng|root.sg1.substation_meas.Version|root.sg1.substation_meas.SOClow|root.sg1.substation_meas.DayChrEng|root.sg1.substation_meas.DayAuxiEng|root.sg1.substation_meas.SOChigh|root.sg1.substation_meas.TotChrEng|root.sg1.substation_meas.SOC|root.sg1.substation_meas.TotAblCap|root.sg1.substation_meas.TotAppPwr|root.sg1.substation_meas.RunState|root.sg1.substation_meas.MonthAuxiEng|root.sg1.substation_meas.TotAuxiEng|root.sg1.substation_meas.Commstate|root.sg1.substation_meas.TotDischrgEng|root.sg1.substation_meas.MaxDischrgPwr|root.sg1.substation_meas.avaPCSNum|root.sg1.substation_meas.ActPwrDC|root.sg1.substation_meas.ts|
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
Empty set.
It costs 0.038s
```
使用自带的工具打印tsfile文件内容如下:
```
---------------------
Starting Printing the TsFile Sketch
---------------------
TsFile path:../../../EMS_tsfile/EMS_tsfile/src/cbin/ems.tsfile
Sketch save path:TsFile_sketch_view.txt
343 [main] WARN o.a.t.common.conf.TSFileDescriptor - not found iotdb-system.properties, use the default configs.
-------------------------------- TsFile Sketch --------------------------------
file path: ../../../EMS_tsfile/EMS_tsfile/src/cbin/ems.tsfile
file length: 3141
POSITION| CONTENT
-------- -------
0| [magic head] TsFile
6| [version number] 4
||||||||||||||||||||| [Chunk Group] of root.sg1.substation_meas, num of Chunks:27
7| [Chunk Group Header]
| [marker] 0
| [deviceID] root.sg1.substation_meas
34| [Chunk] of root.sg1.substation_meas.ActPwrDC, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=ActPwrDC, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
79| [Chunk] of root.sg1.substation_meas.Commstate, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [chunk header] marker=5, measurementID=Commstate, dataSize=28, dataType=INT32, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:26, CompressedSize:26
122| [Chunk] of root.sg1.substation_meas.DayAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
169| [Chunk] of root.sg1.substation_meas.DayChrEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayChrEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
215| [Chunk] of root.sg1.substation_meas.DayDischrgEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayDischrgEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
265| [Chunk] of root.sg1.substation_meas.Genflt, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [chunk header] marker=5, measurementID=Genflt, dataSize=28, dataType=INT32, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:26, CompressedSize:26
305| [Chunk] of root.sg1.substation_meas.GrdPntFrqncy, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=GrdPntFrqncy, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
354| [Chunk] of root.sg1.substation_meas.MaxChrPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MaxChrPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
400| [Chunk] of root.sg1.substation_meas.MaxDischrgPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MaxDischrgPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
450| [Chunk] of root.sg1.substation_meas.MonthAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MonthAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
499| [Chunk] of root.sg1.substation_meas.RunState, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=RunState, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
544| [Chunk] of root.sg1.substation_meas.SOC, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOC, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
584| [Chunk] of root.sg1.substation_meas.SOChigh, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOChigh, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
628| [Chunk] of root.sg1.substation_meas.SOClow, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOClow, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
671| [Chunk] of root.sg1.substation_meas.TotAblCap, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAblCap, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
717| [Chunk] of root.sg1.substation_meas.TotActPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotActPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
763| [Chunk] of root.sg1.substation_meas.TotAppPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAppPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
809| [Chunk] of root.sg1.substation_meas.TotAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
856| [Chunk] of root.sg1.substation_meas.TotChrCap, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotChrCap, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
902| [Chunk] of root.sg1.substation_meas.TotChrEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotChrEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
948| [Chunk] of root.sg1.substation_meas.TotDischrgEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotDischrgEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
998| [Chunk] of root.sg1.substation_meas.Version, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:V1.0.0,lastValue:V1.0.0]
| [chunk header] marker=5, measurementID=Version, dataSize=39, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:32, CompressedSize:37
1050| [Chunk] of root.sg1.substation_meas.YearAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=YearAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
1098| [Chunk] of root.sg1.substation_meas.avaPCSNum, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=avaPCSNum, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
1144| [Chunk] of root.sg1.substation_meas.file, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:ems,lastValue:ems]
| [chunk header] marker=5, measurementID=file, dataSize=36, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:34
1190| [Chunk] of root.sg1.substation_meas.mRID, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:1,lastValue:1]
| [chunk header] marker=5, measurementID=mRID, dataSize=34, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:27, CompressedSize:32
1234| [Chunk] of root.sg1.substation_meas.ts, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:1774593116065,maxValue:1774593116065,firstValue:1774593116065,lastValue:1774593116065,sumValue:1.774593116065E12]
| [chunk header] marker=5, measurementID=ts, dataSize=22, dataType=INT64, compressionType=LZ4, encodingType=PLAIN
| [page] UncompressedSize:33, CompressedSize:20
||||||||||||||||||||| [Chunk Group] of root.sg1.substation_meas ends
1281| [marker] 2
1282| [TimeseriesIndex] of root.sg1.substation_meas.ActPwrDC, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=34
1343| [TimeseriesIndex] of root.sg1.substation_meas.Commstate, tsDataType:INT32, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [ChunkIndex] offset=79
1405| [TimeseriesIndex] of root.sg1.substation_meas.DayAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=122
1468| [TimeseriesIndex] of root.sg1.substation_meas.DayChrEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=169
1530| [TimeseriesIndex] of root.sg1.substation_meas.DayDischrgEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=215
1596| [TimeseriesIndex] of root.sg1.substation_meas.Genflt, tsDataType:INT32, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [ChunkIndex] offset=265
1655| [TimeseriesIndex] of root.sg1.substation_meas.GrdPntFrqncy, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=305
1720| [TimeseriesIndex] of root.sg1.substation_meas.MaxChrPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=354
1782| [TimeseriesIndex] of root.sg1.substation_meas.MaxDischrgPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=400
1848| [TimeseriesIndex] of root.sg1.substation_meas.MonthAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=450
1913| [TimeseriesIndex] of root.sg1.substation_meas.RunState, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=499
1974| [TimeseriesIndex] of root.sg1.substation_meas.SOC, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=544
2030| [TimeseriesIndex] of root.sg1.substation_meas.SOChigh, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=584
2090| [TimeseriesIndex] of root.sg1.substation_meas.SOClow, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=628
2149| [TimeseriesIndex] of root.sg1.substation_meas.TotAblCap, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=671
2211| [TimeseriesIndex] of root.sg1.substation_meas.TotActPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=717
2273| [TimeseriesIndex] of root.sg1.substation_meas.TotAppPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=763
2335| [TimeseriesIndex] of root.sg1.substation_meas.TotAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=809
2398| [TimeseriesIndex] of root.sg1.substation_meas.TotChrCap, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=856
2460| [TimeseriesIndex] of root.sg1.substation_meas.TotChrEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=902
2522| [TimeseriesIndex] of root.sg1.substation_meas.TotDischrgEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=948
2588| [TimeseriesIndex] of root.sg1.substation_meas.Version, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:V1.0.0,lastValue:V1.0.0]
| [ChunkIndex] offset=998
2644| [TimeseriesIndex] of root.sg1.substation_meas.YearAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=1050
2708| [TimeseriesIndex] of root.sg1.substation_meas.avaPCSNum, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=1098
2770| [TimeseriesIndex] of root.sg1.substation_meas.file, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:ems,lastValue:ems]
| [ChunkIndex] offset=1144
2817| [TimeseriesIndex] of root.sg1.substation_meas.mRID, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:1,lastValue:1]
| [ChunkIndex] offset=1190
2860| [TimeseriesIndex] of root.sg1.substation_meas.ts, tsDataType:INT64, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:1774593116065,maxValue:1774593116065,firstValue:1774593116065,lastValue:1774593116065,sumValue:1.774593116065E12]
| [ChunkIndex] offset=1234
2931| [IndexOfTimerseriesIndex Node] type=LEAF_MEASUREMENT
| <ActPwrDC, 1282>
| <endOffset, 2931>
||||||||||||||||||||| [TsFileMetadata] begins
2958| [IndexOfTimerseriesIndex Node] type=LEAF_DEVICE
| <root.sg1.substation_meas, 2931>
| <endOffset, 2958>
| [meta offset] 1281
| [bloom filter] bit vector byte array length=32, filterSize=256, hashFunctionSize=5
||||||||||||||||||||| [TsFileMetadata] ends
3131| [TsFileMetadataSize] 173
3135| [magic tail] TsFile
3141| END of TsFile
---------------------------- IndexOfTimerseriesIndex Tree -----------------------------
[MetadataIndex:LEAF_DEVICE]
└──────[root.sg1.substation_meas,2931]
[MetadataIndex:LEAF_MEASUREMENT]
└──────[ActPwrDC,1282]
---------------------------------- TsFile Sketch End ----------------------------------
```
GitHub link: https://github.com/apache/iotdb/discussions/17392
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "caibandao (via GitHub)" <gi...@apache.org>.
GitHub user caibandao added a comment to the discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
哦哦,上面贴错了,去掉time == 0后还是没有数据
```
IoTDB> SELECT * FROM root.sg1.*
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
|Time|root.sg1.substation_meas.YearAuxiEng|root.sg1.substation_meas.GrdPntFrqncy|root.sg1.substation_meas.TotActPwr|root.sg1.substation_meas.TotChrCap|root.sg1.substation_meas.mRID|root.sg1.substation_meas.file|root.sg1.substation_meas.MaxChrPwr|root.sg1.substation_meas.Genflt|root.sg1.substation_meas.DayDischrgEng|root.sg1.substation_meas.Version|root.sg1.substation_meas.SOClow|root.sg1.substation_meas.DayChrEng|root.sg1.substation_meas.DayAuxiEng|root.sg1.substation_meas.SOChigh|root.sg1.substation_meas.TotChrEng|root.sg1.substation_meas.SOC|root.sg1.substation_meas.TotAblCap|root.sg1.substation_meas.TotAppPwr|root.sg1.substation_meas.RunState|root.sg1.substation_meas.MonthAuxiEng|root.sg1.substation_meas.TotAuxiEng|root.sg1.substation_meas.Commstate|root.sg1.substation_meas.TotDischrgEng|root.sg1.substation_meas.MaxDischrgPwr|root.sg1.substation_meas.avaPCSNum|root.sg1.substation_meas.ActPwrDC|root.sg1.substation_meas.ts|
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
Empty set.
It costs 0.162s
```
GitHub link: https://github.com/apache/iotdb/discussions/17392#discussioncomment-16379379
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "caibandao (via GitHub)" <gi...@apache.org>.
GitHub user caibandao added a comment to the discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
附件如下:
[ems.zip](https://github.com/user-attachments/files/26346580/ems.zip)
GitHub link: https://github.com/apache/iotdb/discussions/17392#discussioncomment-16379101
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
GitHub user HTHou edited a comment on the discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
Time == 0 有点没理解,文件里应该也没有time==0的数据吧
GitHub link: https://github.com/apache/iotdb/discussions/17392#discussioncomment-16379137
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "hongzhi-gao (via GitHub)" <gi...@apache.org>.
GitHub user hongzhi-gao added a comment to the discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
附一下tsfile文件
GitHub link: https://github.com/apache/iotdb/discussions/17392#discussioncomment-16378844
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
GitHub user HTHou added a comment to the discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
Time == 0 有点没理解,文件里应该也没用time==0的数据吧
GitHub link: https://github.com/apache/iotdb/discussions/17392#discussioncomment-16379137
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "hongzhi-gao (via GitHub)" <gi...@apache.org>.
GitHub user hongzhi-gao added a comment to the discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
在这里提issue讨论吧。https://github.com/apache/tsfile/issues/new
另提供下使用tsfile-cpp写入数据的代码。
GitHub link: https://github.com/apache/iotdb/discussions/17392#discussioncomment-16379754
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "caibandao (via GitHub)" <gi...@apache.org>.
GitHub user caibandao edited a discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
我在使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,发现只有显示元数据,查询不到时序数据内容,
有大神能指点一下问题所在吗?
查询如下:
IoTDB> SELECT * FROM root.sg1.* WHERE Time == 0
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
|Time|root.sg1.substation_meas.YearAuxiEng|root.sg1.substation_meas.GrdPntFrqncy|root.sg1.substation_meas.TotActPwr|root.sg1.substation_meas.TotChrCap|root.sg1.substation_meas.mRID|root.sg1.substation_meas.file|root.sg1.substation_meas.MaxChrPwr|root.sg1.substation_meas.Genflt|root.sg1.substation_meas.DayDischrgEng|root.sg1.substation_meas.Version|root.sg1.substation_meas.SOClow|root.sg1.substation_meas.DayChrEng|root.sg1.substation_meas.DayAuxiEng|root.sg1.substation_meas.SOChigh|root.sg1.substation_meas.TotChrEng|root.sg1.substation_meas.SOC|root.sg1.substation_meas.TotAblCap|root.sg1.substation_meas.TotAppPwr|root.sg1.substation_meas.RunState|root.sg1.substation_meas.MonthAuxiEng|root.sg1.substation_meas.TotAuxiEng|root.sg1.substation_meas.Commstate|root.sg1.substation_meas.TotDischrgEng|root.sg1.substation_meas.MaxDischrgPwr|root.sg1.substation_meas.avaPCSNum|root.sg1.substation_meas.ActPwrDC|root.sg1.substation_meas.ts|
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
Empty set.
It costs 0.038s
使用自带的工具打印tsfile文件内容如下:
```
---------------------
Starting Printing the TsFile Sketch
---------------------
TsFile path:../../../EMS_tsfile/EMS_tsfile/src/cbin/ems.tsfile
Sketch save path:TsFile_sketch_view.txt
343 [main] WARN o.a.t.common.conf.TSFileDescriptor - not found iotdb-system.properties, use the default configs.
-------------------------------- TsFile Sketch --------------------------------
file path: ../../../EMS_tsfile/EMS_tsfile/src/cbin/ems.tsfile
file length: 3141
POSITION| CONTENT
-------- -------
0| [magic head] TsFile
6| [version number] 4
||||||||||||||||||||| [Chunk Group] of root.sg1.substation_meas, num of Chunks:27
7| [Chunk Group Header]
| [marker] 0
| [deviceID] root.sg1.substation_meas
34| [Chunk] of root.sg1.substation_meas.ActPwrDC, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=ActPwrDC, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
79| [Chunk] of root.sg1.substation_meas.Commstate, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [chunk header] marker=5, measurementID=Commstate, dataSize=28, dataType=INT32, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:26, CompressedSize:26
122| [Chunk] of root.sg1.substation_meas.DayAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
169| [Chunk] of root.sg1.substation_meas.DayChrEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayChrEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
215| [Chunk] of root.sg1.substation_meas.DayDischrgEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayDischrgEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
265| [Chunk] of root.sg1.substation_meas.Genflt, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [chunk header] marker=5, measurementID=Genflt, dataSize=28, dataType=INT32, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:26, CompressedSize:26
305| [Chunk] of root.sg1.substation_meas.GrdPntFrqncy, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=GrdPntFrqncy, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
354| [Chunk] of root.sg1.substation_meas.MaxChrPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MaxChrPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
400| [Chunk] of root.sg1.substation_meas.MaxDischrgPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MaxDischrgPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
450| [Chunk] of root.sg1.substation_meas.MonthAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MonthAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
499| [Chunk] of root.sg1.substation_meas.RunState, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=RunState, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
544| [Chunk] of root.sg1.substation_meas.SOC, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOC, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
584| [Chunk] of root.sg1.substation_meas.SOChigh, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOChigh, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
628| [Chunk] of root.sg1.substation_meas.SOClow, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOClow, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
671| [Chunk] of root.sg1.substation_meas.TotAblCap, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAblCap, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
717| [Chunk] of root.sg1.substation_meas.TotActPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotActPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
763| [Chunk] of root.sg1.substation_meas.TotAppPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAppPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
809| [Chunk] of root.sg1.substation_meas.TotAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
856| [Chunk] of root.sg1.substation_meas.TotChrCap, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotChrCap, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
902| [Chunk] of root.sg1.substation_meas.TotChrEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotChrEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
948| [Chunk] of root.sg1.substation_meas.TotDischrgEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotDischrgEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
998| [Chunk] of root.sg1.substation_meas.Version, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:V1.0.0,lastValue:V1.0.0]
| [chunk header] marker=5, measurementID=Version, dataSize=39, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:32, CompressedSize:37
1050| [Chunk] of root.sg1.substation_meas.YearAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=YearAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
1098| [Chunk] of root.sg1.substation_meas.avaPCSNum, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=avaPCSNum, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
1144| [Chunk] of root.sg1.substation_meas.file, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:ems,lastValue:ems]
| [chunk header] marker=5, measurementID=file, dataSize=36, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:34
1190| [Chunk] of root.sg1.substation_meas.mRID, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:1,lastValue:1]
| [chunk header] marker=5, measurementID=mRID, dataSize=34, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:27, CompressedSize:32
1234| [Chunk] of root.sg1.substation_meas.ts, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:1774593116065,maxValue:1774593116065,firstValue:1774593116065,lastValue:1774593116065,sumValue:1.774593116065E12]
| [chunk header] marker=5, measurementID=ts, dataSize=22, dataType=INT64, compressionType=LZ4, encodingType=PLAIN
| [page] UncompressedSize:33, CompressedSize:20
||||||||||||||||||||| [Chunk Group] of root.sg1.substation_meas ends
1281| [marker] 2
1282| [TimeseriesIndex] of root.sg1.substation_meas.ActPwrDC, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=34
1343| [TimeseriesIndex] of root.sg1.substation_meas.Commstate, tsDataType:INT32, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [ChunkIndex] offset=79
1405| [TimeseriesIndex] of root.sg1.substation_meas.DayAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=122
1468| [TimeseriesIndex] of root.sg1.substation_meas.DayChrEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=169
1530| [TimeseriesIndex] of root.sg1.substation_meas.DayDischrgEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=215
1596| [TimeseriesIndex] of root.sg1.substation_meas.Genflt, tsDataType:INT32, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [ChunkIndex] offset=265
1655| [TimeseriesIndex] of root.sg1.substation_meas.GrdPntFrqncy, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=305
1720| [TimeseriesIndex] of root.sg1.substation_meas.MaxChrPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=354
1782| [TimeseriesIndex] of root.sg1.substation_meas.MaxDischrgPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=400
1848| [TimeseriesIndex] of root.sg1.substation_meas.MonthAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=450
1913| [TimeseriesIndex] of root.sg1.substation_meas.RunState, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=499
1974| [TimeseriesIndex] of root.sg1.substation_meas.SOC, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=544
2030| [TimeseriesIndex] of root.sg1.substation_meas.SOChigh, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=584
2090| [TimeseriesIndex] of root.sg1.substation_meas.SOClow, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=628
2149| [TimeseriesIndex] of root.sg1.substation_meas.TotAblCap, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=671
2211| [TimeseriesIndex] of root.sg1.substation_meas.TotActPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=717
2273| [TimeseriesIndex] of root.sg1.substation_meas.TotAppPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=763
2335| [TimeseriesIndex] of root.sg1.substation_meas.TotAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=809
2398| [TimeseriesIndex] of root.sg1.substation_meas.TotChrCap, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=856
2460| [TimeseriesIndex] of root.sg1.substation_meas.TotChrEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=902
2522| [TimeseriesIndex] of root.sg1.substation_meas.TotDischrgEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=948
2588| [TimeseriesIndex] of root.sg1.substation_meas.Version, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:V1.0.0,lastValue:V1.0.0]
| [ChunkIndex] offset=998
2644| [TimeseriesIndex] of root.sg1.substation_meas.YearAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=1050
2708| [TimeseriesIndex] of root.sg1.substation_meas.avaPCSNum, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=1098
2770| [TimeseriesIndex] of root.sg1.substation_meas.file, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:ems,lastValue:ems]
| [ChunkIndex] offset=1144
2817| [TimeseriesIndex] of root.sg1.substation_meas.mRID, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:1,lastValue:1]
| [ChunkIndex] offset=1190
2860| [TimeseriesIndex] of root.sg1.substation_meas.ts, tsDataType:INT64, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:1774593116065,maxValue:1774593116065,firstValue:1774593116065,lastValue:1774593116065,sumValue:1.774593116065E12]
| [ChunkIndex] offset=1234
2931| [IndexOfTimerseriesIndex Node] type=LEAF_MEASUREMENT
| <ActPwrDC, 1282>
| <endOffset, 2931>
||||||||||||||||||||| [TsFileMetadata] begins
2958| [IndexOfTimerseriesIndex Node] type=LEAF_DEVICE
| <root.sg1.substation_meas, 2931>
| <endOffset, 2958>
| [meta offset] 1281
| [bloom filter] bit vector byte array length=32, filterSize=256, hashFunctionSize=5
||||||||||||||||||||| [TsFileMetadata] ends
3131| [TsFileMetadataSize] 173
3135| [magic tail] TsFile
3141| END of TsFile
---------------------------- IndexOfTimerseriesIndex Tree -----------------------------
[MetadataIndex:LEAF_DEVICE]
└──────[root.sg1.substation_meas,2931]
[MetadataIndex:LEAF_MEASUREMENT]
└──────[ActPwrDC,1282]
---------------------------------- TsFile Sketch End ----------------------------------
```
GitHub link: https://github.com/apache/iotdb/discussions/17392
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
GitHub user HTHou added a comment to the discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
可以去掉time == 0 试试看
GitHub link: https://github.com/apache/iotdb/discussions/17392#discussioncomment-16379171
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "caibandao (via GitHub)" <gi...@apache.org>.
GitHub user caibandao edited a discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
我在使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,发现只有显示元数据,查询不到时序数据内容,
有大神能指点一下问题所在吗?
查询如下:
```
IoTDB> SELECT * FROM root.sg1.*
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
|Time|root.sg1.substation_meas.YearAuxiEng|root.sg1.substation_meas.GrdPntFrqncy|root.sg1.substation_meas.TotActPwr|root.sg1.substation_meas.TotChrCap|root.sg1.substation_meas.mRID|root.sg1.substation_meas.file|root.sg1.substation_meas.MaxChrPwr|root.sg1.substation_meas.Genflt|root.sg1.substation_meas.DayDischrgEng|root.sg1.substation_meas.Version|root.sg1.substation_meas.SOClow|root.sg1.substation_meas.DayChrEng|root.sg1.substation_meas.DayAuxiEng|root.sg1.substation_meas.SOChigh|root.sg1.substation_meas.TotChrEng|root.sg1.substation_meas.SOC|root.sg1.substation_meas.TotAblCap|root.sg1.substation_meas.TotAppPwr|root.sg1.substation_meas.RunState|root.sg1.substation_meas.MonthAuxiEng|root.sg1.substation_meas.TotAuxiEng|root.sg1.substation_meas.Commstate|root.sg1.substation_meas.TotDischrgEng|root.sg1.substation_meas.MaxDischrgPwr|root.sg1.substation_meas.avaPCSNum|root.sg1.substation_meas.ActPwrDC|root.sg1.substation_meas.ts|
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
+----+------------------------------------+-------------------------------------+----------------------------------+----------------------------------+-----------------------------+-----------------------------+----------------------------------+-------------------------------+--------------------------------------+--------------------------------+-------------------------------+----------------------------------+-----------------------------------+--------------------------------+----------------------------------+----------------------------+----------------------------------+----------------------------------+---------------------------------+-------------------------------------+-----------------------------------+----------------------------------+--------------------------------------+--------------------------------------+----------------------------------+---------------------------------+---------------------------+
Empty set.
It costs 0.162s
```
使用自带的工具打印tsfile文件内容如下:
```
---------------------
Starting Printing the TsFile Sketch
---------------------
TsFile path:../../../EMS_tsfile/EMS_tsfile/src/cbin/ems.tsfile
Sketch save path:TsFile_sketch_view.txt
343 [main] WARN o.a.t.common.conf.TSFileDescriptor - not found iotdb-system.properties, use the default configs.
-------------------------------- TsFile Sketch --------------------------------
file path: ../../../EMS_tsfile/EMS_tsfile/src/cbin/ems.tsfile
file length: 3141
POSITION| CONTENT
-------- -------
0| [magic head] TsFile
6| [version number] 4
||||||||||||||||||||| [Chunk Group] of root.sg1.substation_meas, num of Chunks:27
7| [Chunk Group Header]
| [marker] 0
| [deviceID] root.sg1.substation_meas
34| [Chunk] of root.sg1.substation_meas.ActPwrDC, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=ActPwrDC, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
79| [Chunk] of root.sg1.substation_meas.Commstate, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [chunk header] marker=5, measurementID=Commstate, dataSize=28, dataType=INT32, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:26, CompressedSize:26
122| [Chunk] of root.sg1.substation_meas.DayAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
169| [Chunk] of root.sg1.substation_meas.DayChrEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayChrEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
215| [Chunk] of root.sg1.substation_meas.DayDischrgEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=DayDischrgEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
265| [Chunk] of root.sg1.substation_meas.Genflt, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [chunk header] marker=5, measurementID=Genflt, dataSize=28, dataType=INT32, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:26, CompressedSize:26
305| [Chunk] of root.sg1.substation_meas.GrdPntFrqncy, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=GrdPntFrqncy, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
354| [Chunk] of root.sg1.substation_meas.MaxChrPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MaxChrPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
400| [Chunk] of root.sg1.substation_meas.MaxDischrgPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MaxDischrgPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
450| [Chunk] of root.sg1.substation_meas.MonthAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=MonthAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
499| [Chunk] of root.sg1.substation_meas.RunState, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=RunState, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
544| [Chunk] of root.sg1.substation_meas.SOC, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOC, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
584| [Chunk] of root.sg1.substation_meas.SOChigh, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOChigh, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
628| [Chunk] of root.sg1.substation_meas.SOClow, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=SOClow, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
671| [Chunk] of root.sg1.substation_meas.TotAblCap, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAblCap, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
717| [Chunk] of root.sg1.substation_meas.TotActPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotActPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
763| [Chunk] of root.sg1.substation_meas.TotAppPwr, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAppPwr, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
809| [Chunk] of root.sg1.substation_meas.TotAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
856| [Chunk] of root.sg1.substation_meas.TotChrCap, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotChrCap, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
902| [Chunk] of root.sg1.substation_meas.TotChrEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotChrEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
948| [Chunk] of root.sg1.substation_meas.TotDischrgEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=TotDischrgEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
998| [Chunk] of root.sg1.substation_meas.Version, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:V1.0.0,lastValue:V1.0.0]
| [chunk header] marker=5, measurementID=Version, dataSize=39, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:32, CompressedSize:37
1050| [Chunk] of root.sg1.substation_meas.YearAuxiEng, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=YearAuxiEng, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
1098| [Chunk] of root.sg1.substation_meas.avaPCSNum, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [chunk header] marker=5, measurementID=avaPCSNum, dataSize=31, dataType=FLOAT, compressionType=UNCOMPRESSED, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:29
1144| [Chunk] of root.sg1.substation_meas.file, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:ems,lastValue:ems]
| [chunk header] marker=5, measurementID=file, dataSize=36, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:29, CompressedSize:34
1190| [Chunk] of root.sg1.substation_meas.mRID, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:1,lastValue:1]
| [chunk header] marker=5, measurementID=mRID, dataSize=34, dataType=TEXT, compressionType=GZIP, encodingType=PLAIN
| [page] UncompressedSize:27, CompressedSize:32
1234| [Chunk] of root.sg1.substation_meas.ts, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:1774593116065,maxValue:1774593116065,firstValue:1774593116065,lastValue:1774593116065,sumValue:1.774593116065E12]
| [chunk header] marker=5, measurementID=ts, dataSize=22, dataType=INT64, compressionType=LZ4, encodingType=PLAIN
| [page] UncompressedSize:33, CompressedSize:20
||||||||||||||||||||| [Chunk Group] of root.sg1.substation_meas ends
1281| [marker] 2
1282| [TimeseriesIndex] of root.sg1.substation_meas.ActPwrDC, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=34
1343| [TimeseriesIndex] of root.sg1.substation_meas.Commstate, tsDataType:INT32, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [ChunkIndex] offset=79
1405| [TimeseriesIndex] of root.sg1.substation_meas.DayAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=122
1468| [TimeseriesIndex] of root.sg1.substation_meas.DayChrEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=169
1530| [TimeseriesIndex] of root.sg1.substation_meas.DayDischrgEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=215
1596| [TimeseriesIndex] of root.sg1.substation_meas.Genflt, tsDataType:INT32, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:0,maxValue:0,firstValue:0,lastValue:0,sumValue:0]
| [ChunkIndex] offset=265
1655| [TimeseriesIndex] of root.sg1.substation_meas.GrdPntFrqncy, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=305
1720| [TimeseriesIndex] of root.sg1.substation_meas.MaxChrPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=354
1782| [TimeseriesIndex] of root.sg1.substation_meas.MaxDischrgPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=400
1848| [TimeseriesIndex] of root.sg1.substation_meas.MonthAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=450
1913| [TimeseriesIndex] of root.sg1.substation_meas.RunState, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=499
1974| [TimeseriesIndex] of root.sg1.substation_meas.SOC, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=544
2030| [TimeseriesIndex] of root.sg1.substation_meas.SOChigh, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=584
2090| [TimeseriesIndex] of root.sg1.substation_meas.SOClow, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=628
2149| [TimeseriesIndex] of root.sg1.substation_meas.TotAblCap, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=671
2211| [TimeseriesIndex] of root.sg1.substation_meas.TotActPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=717
2273| [TimeseriesIndex] of root.sg1.substation_meas.TotAppPwr, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=763
2335| [TimeseriesIndex] of root.sg1.substation_meas.TotAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=809
2398| [TimeseriesIndex] of root.sg1.substation_meas.TotChrCap, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=856
2460| [TimeseriesIndex] of root.sg1.substation_meas.TotChrEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=902
2522| [TimeseriesIndex] of root.sg1.substation_meas.TotDischrgEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=948
2588| [TimeseriesIndex] of root.sg1.substation_meas.Version, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:V1.0.0,lastValue:V1.0.0]
| [ChunkIndex] offset=998
2644| [TimeseriesIndex] of root.sg1.substation_meas.YearAuxiEng, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=1050
2708| [TimeseriesIndex] of root.sg1.substation_meas.avaPCSNum, tsDataType:FLOAT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:120.1,maxValue:120.1,firstValue:120.1,lastValue:120.1,sumValue:120.0999984741211]
| [ChunkIndex] offset=1098
2770| [TimeseriesIndex] of root.sg1.substation_meas.file, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:ems,lastValue:ems]
| [ChunkIndex] offset=1144
2817| [TimeseriesIndex] of root.sg1.substation_meas.mRID, tsDataType:TEXT, startTime: 1774593116065 endTime: 1774593116065 count: 1 [firstValue:1,lastValue:1]
| [ChunkIndex] offset=1190
2860| [TimeseriesIndex] of root.sg1.substation_meas.ts, tsDataType:INT64, startTime: 1774593116065 endTime: 1774593116065 count: 1 [minValue:1774593116065,maxValue:1774593116065,firstValue:1774593116065,lastValue:1774593116065,sumValue:1.774593116065E12]
| [ChunkIndex] offset=1234
2931| [IndexOfTimerseriesIndex Node] type=LEAF_MEASUREMENT
| <ActPwrDC, 1282>
| <endOffset, 2931>
||||||||||||||||||||| [TsFileMetadata] begins
2958| [IndexOfTimerseriesIndex Node] type=LEAF_DEVICE
| <root.sg1.substation_meas, 2931>
| <endOffset, 2958>
| [meta offset] 1281
| [bloom filter] bit vector byte array length=32, filterSize=256, hashFunctionSize=5
||||||||||||||||||||| [TsFileMetadata] ends
3131| [TsFileMetadataSize] 173
3135| [magic tail] TsFile
3141| END of TsFile
---------------------------- IndexOfTimerseriesIndex Tree -----------------------------
[MetadataIndex:LEAF_DEVICE]
└──────[root.sg1.substation_meas,2931]
[MetadataIndex:LEAF_MEASUREMENT]
└──────[ActPwrDC,1282]
---------------------------------- TsFile Sketch End ----------------------------------
```
GitHub link: https://github.com/apache/iotdb/discussions/17392
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org
Re: [D] 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 [iotdb]
Posted by "HTHou (via GitHub)" <gi...@apache.org>.
GitHub user HTHou added a comment to the discussion: 使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容
简单定位了一下,应该是tsfile 那边的问题,可以转到tsfile 那边讨论一下吧
GitHub link: https://github.com/apache/iotdb/discussions/17392#discussioncomment-16379656
----
This is an automatically sent email for dev@iotdb.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@iotdb.apache.org