You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2021/07/27 08:24:15 UTC
[GitHub] [flink] Airblader commented on a change in pull request #16594: [WIP][FLINK-23063][python][table] Remove #connect
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: issues-unsubscribe@flink.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org