Skip to content

Commit 25a6850

Browse files
committed
polish format
1 parent dfeed73 commit 25a6850

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

flink-table/flink-table-planner-blink/src/test/scala/org/apache/flink/table/api/TableEnvironmentTest.scala

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,13 +1360,14 @@ class TableEnvironmentTest {
13601360
Row.of("f25", "STRING", Boolean.box(false), null, null, null),
13611361
Row.of("f26", "ROW<`f0` INT NOT NULL, `f1` INT>", Boolean.box(false),
13621362
"PRI(f24, f26)", null, null),
1363-
Row.of("f27", "TIME(0)", Boolean.box(false), null, "AS LOCALTIME", null),
1364-
Row.of("f28", "TIME(0)", Boolean.box(false), null, "AS CURRENT_TIME", null),
1365-
Row.of("f29", "TIMESTAMP(3)", Boolean.box(false), null, "AS LOCALTIMESTAMP", null),
1366-
Row.of("f30", "TIMESTAMP_LTZ(3)", Boolean.box(false), null, "AS CURRENT_TIMESTAMP", null),
1367-
Row.of("f31", "TIMESTAMP_LTZ(3)", Boolean.box(false), null,
1368-
"AS CURRENT_ROW_TIMESTAMP()", null),
1369-
Row.of("ts", "TIMESTAMP(3) *ROWTIME*", Boolean.box(true), null, "AS TO_TIMESTAMP(`f25`)",
1363+
Row.of("f27", "TIME(0)", Boolean.box(false), null, "AS LOCALTIME", null),
1364+
Row.of("f28", "TIME(0)", Boolean.box(false), null, "AS CURRENT_TIME", null),
1365+
Row.of("f29", "TIMESTAMP(3)", Boolean.box(false), null, "AS LOCALTIMESTAMP", null),
1366+
Row.of("f30", "TIMESTAMP_LTZ(3)", Boolean.box(false), null,
1367+
"AS CURRENT_TIMESTAMP", null),
1368+
Row.of("f31", "TIMESTAMP_LTZ(3)", Boolean.box(false), null,
1369+
"AS CURRENT_ROW_TIMESTAMP()", null),
1370+
Row.of("ts", "TIMESTAMP(3) *ROWTIME*", Boolean.box(true), null, "AS TO_TIMESTAMP(`f25`)",
13701371
"`ts` - INTERVAL '1' SECOND"))
13711372
val tableResult1 = tableEnv.executeSql("describe T1")
13721373
assertEquals(ResultKind.SUCCESS_WITH_CONTENT, tableResult1.getResultKind)

0 commit comments

Comments
 (0)