shuwenwei commented on code in PR #284:
URL: https://github.com/apache/tsfile/pull/284#discussion_r1830305024
##########
java/tsfile/src/main/java/org/apache/tsfile/read/reader/series/FileSeriesReader.java:
##########
@@ -56,8 +56,10 @@ protected void initChunkReader(IChunkMetadata chunkMetaData)
throws IOException
chunkLoader.loadChunk((ChunkMetadata)
(alignedChunkMetadata.getTimeChunkMetadata()));
List<Chunk> valueChunkList = new ArrayList<>();
for (IChunkMetadata metadata :
alignedChunkMetadata.getValueChunkMetadataList()) {
- valueChunkList.add(chunkLoader.loadChunk((ChunkMetadata) metadata));
- currentChunkMeasurementNames.add(metadata.getMeasurementUid());
+ if (metadata != null) {
Review Comment:
When the value chunk metadata is null, is it necessary to ensure that the
valueChunkList in AlignedChunkReader aligns with the original
AlignedChunkMetadata at every value column?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]