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

    https://github.com/apache/flink/pull/3808#discussion_r114892939
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/StreamTableEnvironment.scala
 ---
    @@ -145,6 +105,7 @@ abstract class StreamTableEnvironment(
                 "StreamTableEnvironment")
         }
       }
    +
       /**
    --- End diff --
    
    Converting a Table that projects a time indicator into a DataStream[Row] as 
follows
    ```
    stream.toTable(tEnv, 'a, 'b, 'c, 'd.rowtime)
          .select('a, 'b, 'c, 'd + 2.hours)
    val results = ds.toDataStream[Row]
    ```
    yields the following exception
    ```
    org.apache.flink.table.api.TableException: The field types of physical and 
logical row types do not match.This is a bug and should not happen. Please file 
an issue.
    
        at org.apache.flink.table.api.TableException$.apply(exceptions.scala:53)
        at 
org.apache.flink.table.api.TableEnvironment.sinkConversion(TableEnvironment.scala:691)
    ```


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