Skip to content

Commit

Permalink
[FLINK-33777] Fix ParquetTimestampITCase>FsStreamingSinkITCaseBase fa…
Browse files Browse the repository at this point in the history
…iling
  • Loading branch information
snuyanzin authored and dawidwys committed Dec 8, 2023
1 parent ca72f63 commit 0e515dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public DataStream<Row> getDataStream2(Function1<Row, Object> fun) {
Types.STRING,
Types.STRING
},
new String[] {"a", "b", "c", "d", "e"})));
new String[] {"f0", "f1", "f2", "f3", "f4"})));
}

@Override
Expand All @@ -198,7 +198,7 @@ public DataStream<Row> getDataStream(Function1<Row, Object> fun) {
Types.STRING,
Types.STRING
},
new String[] {"a", "b", "c", "d", "e"})));
new String[] {"f0", "f1", "f2", "f3", "f4"})));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ import org.apache.flink.streaming.api.CheckpointingMode
import org.apache.flink.streaming.api.functions.source.SourceFunction
import org.apache.flink.streaming.api.scala.DataStream
import org.apache.flink.streaming.api.watermark.Watermark
import org.apache.flink.table.api.{DataTypes, Schema}
import org.apache.flink.table.api.Expressions.$
import org.apache.flink.table.data.TimestampData
import org.apache.flink.table.planner.runtime.utils.{StreamingTestBase, TestSinkUtil}
import org.apache.flink.testutils.junit.utils.TempDirUtils
Expand Down Expand Up @@ -176,15 +174,7 @@ abstract class FsStreamingSinkITCaseBase extends StreamingTestBase {

tEnv.createTemporaryView(
"my_table",
dataStream,
Schema
.newBuilder()
.column("f0", DataTypes.INT())
.column("f1", DataTypes.STRING())
.column("f2", DataTypes.STRING())
.column("f3", DataTypes.STRING())
.column("f4", DataTypes.STRING())
.build()
dataStream
)

val ddl: String = getDDL(
Expand Down

0 comments on commit 0e515dc

Please sign in to comment.