Github user wuchong commented on a diff in the pull request:
    --- Diff: 
    @@ -46,29 +47,29 @@ class StreamTableSourceScan(
         val fieldNames = TableEnvironment.getFieldNames(tableSource).toList
         val fieldTypes = 
    -    val fieldCnt = fieldNames.length
    +    val fields =
    -    val rowtime = tableSource match {
    +    val withRowtime = tableSource match {
           case timeSource: DefinedRowtimeAttribute if 
timeSource.getRowtimeAttribute != null =>
    --- End diff --
    For the `DefinedRowtimeAttribute`, we hope the rowtime field can replace an 
existing field. Just like register a DataStream, the rowtime field can be 
appended but also can replace an existing field.
    It is not related to this PR, but we can discuss it at here and to do it in 
a separate issue.

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

Reply via email to