linxt20 commented on code in PR #11681:
URL: https://github.com/apache/iotdb/pull/11681#discussion_r1426320700
##########
integration-test/src/test/java/org/apache/iotdb/db/it/schema/IoTDBMetadataFetchIT.java:
##########
@@ -292,6 +326,7 @@ public void showDevicesTest() throws SQLException {
builder.append(resultSet.getString(i)).append(",");
}
String string = builder.toString();
+ System.out.println(string);
Review Comment:
Fixed.
##########
integration-test/src/test/java/org/apache/iotdb/db/it/schema/IoTDBMetadataFetchIT.java:
##########
@@ -227,17 +227,34 @@ public void showStorageGroupTest() throws SQLException {
public void showDevicesWithSgTest() throws SQLException {
try (Connection connection = EnvFactory.getEnv().getConnection();
Statement statement = connection.createStatement()) {
+ statement.execute("CREATE DATABASE root.sg1");
+ statement.execute("CREATE DATABASE root.sg2");
+ statement.execute("CREATE DEVICE TEMPLATE t1 (s1 INT64, s2 DOUBLE)");
+ statement.execute("CREATE DEVICE TEMPLATE t2 aligned (s1 INT64, s2
DOUBLE)");
+ statement.execute("SET DEVICE TEMPLATE t1 TO root.sg1.d1");
+ statement.execute("SET DEVICE TEMPLATE t2 TO root.sg1.d2");
+ statement.execute("SET DEVICE TEMPLATE t1 TO root.sg2.d1");
+ statement.execute("SET DEVICE TEMPLATE t2 TO root.sg2.d2");
+ statement.execute("CREATE TIMESERIES OF DEVICE TEMPLATE ON root.sg1.d2");
+ statement.execute("CREATE TIMESERIES OF DEVICE TEMPLATE ON root.sg2.d1");
+ statement.execute("CREATE TIMESERIES OF DEVICE TEMPLATE ON root.sg2.d2");
+
Review Comment:
Fixed.
--
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]