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

    https://github.com/apache/flink/pull/1624#discussion_r52731336
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/api/java/table/TableEnvironment.scala
 ---
    @@ -75,5 +75,15 @@ class TableEnvironment {
           TypeExtractor.createTypeInfo(clazz).asInstanceOf[TypeInformation[T]])
       }
     
    +  /**
    +   * Converts the given [[org.apache.flink.api.table.Table]] to
    +   * a DataSet. The given type must have exactly the same fields as the
    +   * [[org.apache.flink.api.table.Table]]. That is, the names of the
    --- End diff --
    
    I would make name equivalence only required for POJOs and generic composite 
types types. 
    Rows and tuples can be matched by position. Otherwise, fields would need to 
be renamed to `f0`, `f1`, etc. for tuples.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to