Github user Aegeaner commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5065#discussion_r155741244
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala
 ---
    @@ -411,6 +411,7 @@ abstract class TableEnvironment(val config: 
TableConfig) {
         }
     
         checkValidTableName(name)
    +    checkValidTableType(table)
    --- End diff --
    
    `org.apache.flink.table.api.TableEnvironment#validateType` is not only used 
to validate output types, but also used for all validating type information 
case, e.g. `BatchTableEnvironment#translate` for explain statement. 


---

Reply via email to