Airblader commented on a change in pull request #16594:
URL: https://github.com/apache/flink/pull/16594#discussion_r677230566
##########
File path:
flink-table/flink-table-planner/src/test/scala/org/apache/flink/table/planner/plan/batch/sql/TableScanTest.scala
##########
@@ -210,10 +210,13 @@ class TableScanTest extends TableTestBase {
@Test
def testTableApiScanWithTemporaryTable(): Unit = {
- util.tableEnv.connect(new FileSystem().path(tempFolder.newFile.getPath))
- .withFormat(new OldCsv())
- .withSchema(new Schema().field("word", DataTypes.STRING()))
- .createTemporaryTable("t1")
+ util.tableEnv.createTemporaryTable("t1",
TableDescriptor.forConnector("datagen")
Review comment:
(The actual filesystem connector isn't available here, but we don't
really need it anyway)
--
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]