Skip to content

Commit 03e30af

Browse files
committed
fix
1 parent 51749af commit 03e30af

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

integration-test/src/test/java/org/apache/iotdb/pipe/it/dual/tablemodel/manual/enhanced/IoTDBPipeIdempotentIT.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void testCreateTableIdempotent() throws Exception {
6161
@Test
6262
public void testCreateTableViewIdempotent() throws Exception {
6363
testTableConfigIdempotent(
64-
Collections.emptyList(), "create view test(s1 field int32) restrict as root.a.**");
64+
Collections.emptyList(), "create view test(s1 int32 field) restrict as root.a.**");
6565
}
6666

6767
@Test
@@ -73,7 +73,7 @@ public void testAlterTableAddColumnIdempotent() throws Exception {
7373
@Test
7474
public void testAlterViewAddColumnIdempotent() throws Exception {
7575
testTableConfigIdempotent(
76-
Collections.singletonList("create view test(s1 field int32) restrict as root.a.**"),
76+
Collections.singletonList("create view test(s1 int32 field) restrict as root.a.**"),
7777
"alter view test add column a tag");
7878
}
7979

@@ -87,7 +87,7 @@ public void testAlterTableSetPropertiesIdempotent() throws Exception {
8787
@Test
8888
public void testAlterViewSetPropertiesIdempotent() throws Exception {
8989
testTableConfigIdempotent(
90-
Collections.singletonList("create view test(s1 field int32) restrict as root.a.**"),
90+
Collections.singletonList("create view test(s1 int32 field) restrict as root.a.**"),
9191
"alter view test set properties ttl=100");
9292
}
9393

@@ -101,7 +101,7 @@ public void testAlterTableDropColumnIdempotent() throws Exception {
101101
@Test
102102
public void testAlterViewDropColumnIdempotent() throws Exception {
103103
testTableConfigIdempotent(
104-
Collections.singletonList("create view test(a tag, s1 field int32) restrict as root.a.**"),
104+
Collections.singletonList("create view test(a tag, s1 int32 field) restrict as root.a.**"),
105105
"alter view test drop column a");
106106
}
107107

@@ -113,21 +113,21 @@ public void testDropTableIdempotent() throws Exception {
113113
@Test
114114
public void testDropViewIdempotent() throws Exception {
115115
testTableConfigIdempotent(
116-
Collections.singletonList("create view test(s1 field int32) restrict as root.a.**"),
116+
Collections.singletonList("create view test(s1 int32 field) restrict as root.a.**"),
117117
"drop view test");
118118
}
119119

120120
@Test
121121
public void testRenameViewColumnIdempotent() throws Exception {
122122
testTableConfigIdempotent(
123-
Collections.singletonList("create view test(a tag, s1 field int32) restrict as root.a.**"),
123+
Collections.singletonList("create view test(a tag, s1 int32 field) restrict as root.a.**"),
124124
"alter view test rename column a to b");
125125
}
126126

127127
@Test
128128
public void testRenameViewIdempotent() throws Exception {
129129
testTableConfigIdempotent(
130-
Collections.singletonList("create view test(s1 field int32) restrict as root.a.**"),
130+
Collections.singletonList("create view test(s1 int32 field) restrict as root.a.**"),
131131
"alter view test rename to test1");
132132
}
133133

0 commit comments

Comments
 (0)