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

    https://github.com/apache/flink/pull/3277#discussion_r100772114
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/TableEnvironment.scala
 ---
    @@ -428,6 +431,123 @@ abstract class TableEnvironment(val config: 
TableConfig) {
         (fieldNames.toArray, fieldIndexes.toArray)
       }
     
    +  /**
    +    * Creates a final converter that maps the internal row type to 
external type.
    +    *
    +    * @param physicalRowTypeInfo the input of the sink
    +    * @param logicalRowType the logical type with correct field names 
(esp. for POJO field mapping)
    +    * @param expectedTypeInfo the outptu type of the sink
    +    * @param functionName name of the map function. Must not be unique but 
has to be a
    +    *                     valid Java class identifier.
    +    */
    +  protected def sinkConversion[T](
    +      physicalRowTypeInfo: TypeInformation[Row],
    +      logicalRowType: RelDataType,
    +      expectedTypeInfo: TypeInformation[T],
    --- End diff --
    
    Change `expected` to `requested` in the error messages and variable names 
of this method?


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to