This is an automated email from the ASF dual-hosted git repository. jiangtian pushed a commit to branch new_test_case in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 661ce7df0feba18128781289e11cfd8454d271e5 Author: Tian Jiang <[email protected]> AuthorDate: Fri Jan 3 13:03:33 2025 +0800 Fix that place-holder tag column are not Binary[] --- .../iotdb/relational/it/session/IoTDBSessionRelationalIT.java | 2 +- .../src/main/java/org/apache/iotdb/db/utils/CommonUtils.java | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/integration-test/src/test/java/org/apache/iotdb/relational/it/session/IoTDBSessionRelationalIT.java b/integration-test/src/test/java/org/apache/iotdb/relational/it/session/IoTDBSessionRelationalIT.java index 99c6759690b..0ab30d29d5e 100644 --- a/integration-test/src/test/java/org/apache/iotdb/relational/it/session/IoTDBSessionRelationalIT.java +++ b/integration-test/src/test/java/org/apache/iotdb/relational/it/session/IoTDBSessionRelationalIT.java @@ -1494,7 +1494,7 @@ public class IoTDBSessionRelationalIT { for (int row = 0; row < 15; row++) { tablet.addTimestamp(row, timestamp); - tablet.addValue("tag2", row, "tag:" + timestamp); + tablet.addValue("tag2", row, "string"); tablet.addValue("s2", row, timestamp); timestamp ++; } diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java index 36cd5616820..d83379bd738 100644 --- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java +++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/CommonUtils.java @@ -379,12 +379,6 @@ public class CommonUtils { break; case TEXT: case STRING: - if (columnCategory.equals(TsTableColumnCategory.FIELD)) { - valueColumn = new Binary[rowNum]; - } else { - valueColumn = new String[rowNum]; - } - break; case BLOB: valueColumn = new Binary[rowNum]; break;
