This is an automated email from the ASF dual-hosted git repository. jt2594838 pushed a commit to branch add_flat_device in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit e521fa44633b100cfaa09f1f9b8deb14827e503d Author: Tian Jiang <[email protected]> AuthorDate: Tue Sep 22 16:02:18 2026 +0800 tmp --- .../iotdb/db/storageengine/dataregion/memtable/AbstractMemTable.java | 3 ++- .../org/apache/iotdb/db/utils/datastructure/AlignedTVListFactory.java | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AbstractMemTable.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AbstractMemTable.java index b219a46ea00..c5902b738df 100644 --- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AbstractMemTable.java +++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AbstractMemTable.java @@ -198,7 +198,8 @@ public abstract class AbstractMemTable implements IMemTable { filteredSchemaList, k.isTableModel(), sortColumnIndicesSupplier.get(), - useColumnSortedList); + useColumnSortedList, + k); }); for (IMeasurementSchema schema : schemaList) { if (schema != null && !memChunkGroup.contains(schema.getMeasurementName())) { diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVListFactory.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVListFactory.java index 7c0e5f03bae..aa81aa3a74a 100644 --- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVListFactory.java +++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVListFactory.java @@ -20,6 +20,7 @@ package org.apache.iotdb.db.utils.datastructure; import org.apache.tsfile.enums.TSDataType; +import org.apache.tsfile.file.metadata.IDeviceID; import java.io.DataInputStream; import java.io.IOException; @@ -59,7 +60,7 @@ public final class AlignedTVListFactory { return new ColumnSortedAlignedTVList(dataTypes, keyColumnIndices, true); } - /** Creates flat-device storage with a single dictionary-code column for the logical device. */ + /** Creates flat-device storage with logical-device metadata shared by all TAG columns. */ public static AlignedTVList createFlatDeviceAlignedList( List<TSDataType> dataTypes, List<Integer> tagIndices) { return new FlatDeviceAlignedTVList(dataTypes, tagIndices, true);
