-
Notifications
You must be signed in to change notification settings - Fork 93
使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,只有显示元数据,查询不到时序数据内容 #758
Copy link
Copy link
Closed
Description
我在使用tsfile-2.2.1 c++接口生成tsfiel文件后,使用iotdb 2.0.07版本自动加载tsfile后,发现只有显示元数据,查询不到时序数据内容,
有大神能指点一下问题所在吗?
生成tsfile文件大致逻辑如下:
#include <cmath>
#include <time.h>
#include <string>
#include <vector>
#include <chrono>
#include <numeric>
#include <iostream>
#include "common/path.h"
#include "common/record.h"
#include "common/global.h"
#include "common/db_common.h"
#include "common/row_record.h"
#include "writer/tsfile_writer.h"
void Control::Tsfile_generate()
{
LOGXJ_INFO("Tsfile_generate run");
//初始化
storage::libtsfile_init();
system("rm ems.tsfile");
int ret = tsfile_writer.open("ems.tsfile", O_CREAT | O_RDWR, 0644);
if(ret != 0)
{
LOGXJ_ERROR("open tsfile error %d !!!", ret);
return;
}
//创建元数据
std::vector<storage::MeasurementSchema*> measurement_schema_vec;
for (int i = 0; i < mode_info_list.count(); ++i)
{
Mode_info* mode_info = &mode_info_list[i];
QString device_name = "root.sg1." + mode_info->db_name;
measurement_schema_vec.clear();
measurement_schema_vec.push_back(new storage::MeasurementSchema("ts", common::INT64, common::PLAIN, common::LZ4));
//添加id
measurement_schema_vec.push_back(new storage::MeasurementSchema("mRID", common::TEXT, common::PLAIN, common::GZIP));
//遍历配置
QList<QString> config_keys = mode_info->config_data.keys();
for (const auto &key : qAsConst(config_keys))
{
QString config_name = key;
measurement_schema_vec.push_back(new storage::MeasurementSchema(config_name.toStdString(), common::TEXT, common::PLAIN, common::GZIP));
}
for (int j = 0; j < mode_info->YX_data.count(); ++j)
{
QString YX_name = mode_info->YX_data[j];
measurement_schema_vec.push_back(new storage::MeasurementSchema(YX_name.toStdString(), common::INT32, common::PLAIN, common::UNCOMPRESSED));
}
for (int j = 0; j < mode_info->YC_data.count(); ++j)
{
QString YC_name = mode_info->YC_data[j];
measurement_schema_vec.push_back(new storage::MeasurementSchema(YC_name.toStdString(), common::FLOAT, common::PLAIN, common::UNCOMPRESSED));
}
ret = tsfile_writer.register_timeseries(device_name.toStdString(), measurement_schema_vec);
if(ret != 0)
{
storage::libtsfile_destroy();
LOGXJ_ERROR("register_timeseries error %d !!!", ret);
return;
}
}
//遍历模型
for (int i = 0; i < mode_info_list.count(); ++i)
{
int64_t timestamp = QDateTime::currentDateTimeUtc().toMSecsSinceEpoch();
Mode_info* mode_info = &mode_info_list[i];
QString device_name = "root.sg1." + mode_info->db_name;
storage::TsRecord record(device_name.toStdString(),timestamp);
storage::DataPoint Time("ts", timestamp);
record.points_.push_back(Time);
//表mRID
std::string mRID = mode_info->mRID.toStdString();
storage::DataPoint mRIDpoint("mRID", common::String(mRID));
record.points_.push_back(mRIDpoint);
//遍历配置
QList<QString> config_keys = mode_info->config_data.keys();
std::string val[config_keys.count()];
int idx = 0;
for (const auto &key : qAsConst(config_keys))
{
val[idx] = mode_info->config_data.value(key).toStdString();
storage::DataPoint point(key.toStdString(),common::String(val[idx]));
record.points_.push_back(point);
idx++;
}
for (int j = 0; j < mode_info->YX_data.count(); ++j)
{
QString YX_name = mode_info->YX_data[j];
storage::DataPoint point(YX_name.toStdString(), static_cast<int32_t>(0));
record.points_.push_back(point);
}
for (int j = 0; j < mode_info->YC_data.count(); ++j)
{
QString YC_name = mode_info->YC_data[j];
storage::DataPoint point(YC_name.toStdString(), static_cast<float>(120.1));
record.points_.push_back(point);
}
//写入tsfile文件
ret = tsfile_writer.write_record(record);
if(ret != 0)
{
storage::libtsfile_destroy();
LOGXJ_ERROR("write tsfile error %d !!!", ret);
return;
}
}
ret = tsfile_writer.flush();
if(ret != 0)
{
storage::libtsfile_destroy();
LOGXJ_ERROR("flush tsfile error %d !!!", ret);
return;
}
ret = tsfile_writer.close();
if(ret != 0)
{
storage::libtsfile_destroy();
LOGXJ_ERROR("close tsfile error %d !!!", ret);
return;
}
std::cout<<"finish writing" << std::endl;
return ;
}
查询如下:
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
使用print-tsfile.sh工具打印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 ----------------------------------
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels