JackieTien97 commented on code in PR #12446:
URL: https://github.com/apache/iotdb/pull/12446#discussion_r1597324119


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/node/source/TimeseriesRegionScanNode.java:
##########
@@ -31,25 +33,37 @@
 import org.apache.iotdb.db.queryengine.plan.planner.plan.node.PlanVisitor;
 
 import com.google.common.collect.ImmutableList;
+import org.apache.tsfile.file.metadata.PlainDeviceID;
 import org.apache.tsfile.utils.ReadWriteIOUtils;
 
 import java.io.DataOutputStream;
 import java.io.IOException;
 import java.nio.ByteBuffer;
 import java.util.ArrayList;
 import java.util.HashMap;
+import java.util.HashSet;
 import java.util.List;
 import java.util.Map;
 import java.util.Objects;
 import java.util.Set;
 import java.util.stream.Collectors;
 
 public class TimeseriesRegionScanNode extends RegionScanNode {
-  private Map<PartialPath, TimeseriesSchemaInfo> timeseriesToSchemaInfo;
+  // DevicePath -> (MeasurementPath -> TimeseriesSchemaInfo), it will be 
serialized to
+  // timeseriesToSchemaInfo in the end
+  Map<PartialPath, Map<PartialPath, List<TimeseriesSchemaInfo>>> 
deviceToTimeseriesSchemaInfo;

Review Comment:
   add `private transient`



-- 
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]

Reply via email to