Skip to content

Commit

Permalink
Fix it which use 'merge' command (#12060)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuwenwei authored Feb 21, 2024
1 parent a67b0c0 commit f35b2a5
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,16 +389,6 @@ public void testSDTEncodingMergeSeq() {
count++;
}
assertEquals(15, count);

// no sdt encoding when merging
statement.execute("merge");
resultSet = statement.executeQuery("select s0 from root.sg1.d0");
count = 0;
while (resultSet.next()) {
count++;
}
assertEquals(15, count);

} catch (SQLException e) {
e.printStackTrace();
}
Expand Down Expand Up @@ -443,16 +433,6 @@ public void testSDTEncodingMergeUnseq() {
count++;
}
assertEquals(18, count);

// no sdt encoding when merging
statement.execute("merge");
resultSet = statement.executeQuery("select s0 from root.sg1.d0");
count = 0;
while (resultSet.next()) {
count++;
}
assertEquals(18, count);

} catch (SQLException e) {
e.printStackTrace();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ protected static void prepareData(String jdbcUrl) throws ClassNotFoundException
String.format(
Locale.ENGLISH, insertTemplate, i, i, i, (double) i, "'" + i + "'", "false"));
}
statement.execute("merge");

// prepare BufferWrite cache
for (int i = 9000; i < 10000; i++) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ public class IoTDBDatabaseMetadata implements DatabaseMetaData {
"LIKE",
"MAX_BY",
"METADATA",
"MERGE",
"MOVE",
"MIN_TIME",
"MAX_TIME",
Expand Down

0 comments on commit f35b2a5

Please sign in to comment.