未验证 提交 725cc68f 编写于 作者: D Dawei Liu 提交者: GitHub

fix index out of bound when VectorTimeSeriesMetadata is not find in memory (#3208)

fix index out of bound when VectorTimeSeriesMetadata is not find in memory
上级 c0ee6cb2
...@@ -181,7 +181,7 @@ public class FileLoaderUtils { ...@@ -181,7 +181,7 @@ public class FileLoaderUtils {
.collect(Collectors.toList()), .collect(Collectors.toList()),
allSensors, allSensors,
context.isDebug()); context.isDebug());
if (timeSeriesMetadata != null) { if (timeSeriesMetadata != null && !timeSeriesMetadata.isEmpty()) {
timeSeriesMetadata timeSeriesMetadata
.get(0) .get(0)
.setChunkMetadataLoader( .setChunkMetadataLoader(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册