twalthr commented on a change in pull request #16287:
URL: https://github.com/apache/flink/pull/16287#discussion_r664388098



##########
File path: 
flink-table/flink-table-api-java/src/test/java/org/apache/flink/table/api/TableEnvironmentTest.java
##########
@@ -78,6 +78,19 @@ public void testConnect() {
         
assertCatalogTable(CatalogTableImpl.fromProperties(table.toProperties()));
     }
 
+    @Test
+    public void testTableFromDescriptor() {
+        final TableEnvironmentMock tEnv = 
TableEnvironmentMock.getStreamingInstance();
+
+        final Schema schema = Schema.newBuilder().column("f0", 
DataTypes.INT()).build();
+        final TableDescriptor descriptor =
+                TableDescriptor.forConnector("fake").schema(schema).build();
+
+        Table table = tEnv.from(descriptor);
+        assertEquals(

Review comment:
       this tests only the schema, isn't it possible to access the underlying 
catalog table?




-- 
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]


Reply via email to