This is an automated email from the ASF dual-hosted git repository.

justinchen pushed a commit to branch show_create_bug
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/show_create_bug by this push:
     new 00ee943fad5 fix
00ee943fad5 is described below

commit 00ee943fad5bac54e6a07642ae1973e30798dcc5
Author: Caideyipi <[email protected]>
AuthorDate: Fri Apr 10 17:05:40 2026 +0800

    fix
---
 .../apache/iotdb/relational/it/schema/IoTDBTableIT.java    | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git 
a/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBTableIT.java
 
b/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBTableIT.java
index b929731bb04..6cfebd04c73 100644
--- 
a/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBTableIT.java
+++ 
b/integration-test/src/test/java/org/apache/iotdb/relational/it/schema/IoTDBTableIT.java
@@ -480,7 +480,7 @@ public class IoTDBTableIT {
       // After
       statement.execute("COMMENT ON COLUMN table2.region_id IS '重庆'");
       statement.execute("COMMENT ON COLUMN table2.region_id IS NULL");
-      statement.execute("COMMENT ON COLUMN test2.table2.time IS 'recent'");
+      statement.execute("COMMENT ON COLUMN test2.table2.t1 IS 'recent'");
       statement.execute("COMMENT ON COLUMN test2.table2.region_id IS ''");
 
       comments = new String[] {"recent", "", null, null, "fast"};
@@ -527,7 +527,7 @@ public class IoTDBTableIT {
       }
 
       try {
-        statement.execute("alter table table2 drop column time");
+        statement.execute("alter table table2 drop column t1");
       } catch (final SQLException e) {
         assertEquals("701: Dropping tag or time column is not supported.", 
e.getMessage());
       }
@@ -619,8 +619,14 @@ public class IoTDBTableIT {
 
       // Test time column
       // More time column tests are included in other IT
-      statement.execute("create table test100 (time time)");
-      statement.execute("create table test101 (time timestamp time)");
+      statement.execute("create table test100 (t1 time)");
+      statement.execute("create table test101 (t1 timestamp time)");
+
+      TestUtils.assertResultSetEqual(
+          statement.executeQuery("show create table test100"),
+          "Table,Create Table,",
+          Collections.singleton(
+              "table2,CREATE TABLE \"test100\" (\"t1\" TIMESTAMP TIME) WITH 
(ttl=6600000),"));
     } catch (final SQLException e) {
       e.printStackTrace();
       fail(e.getMessage());

Reply via email to