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

    https://github.com/apache/flink/pull/3808#discussion_r114697863
  
    --- Diff: 
flink-libraries/flink-table/src/test/scala/org/apache/flink/table/runtime/datastream/DataStreamAggregateITCase.scala
 ---
    @@ -62,10 +62,10 @@ class DataStreamAggregateITCase extends 
StreamingMultipleProgramsTestBase {
         val stream = env
           .fromCollection(data)
           .assignTimestampsAndWatermarks(new TimestampWithEqualWatermark())
    -    val table = stream.toTable(tEnv, 'long, 'int, 'double, 'float, 
'bigdec, 'string)
    +    val table = stream.toTable(tEnv, 'long.rowtime, 'int, 'double, 'float, 
'bigdec, 'string)
    --- End diff --
    
    I think we can using `.rowtime` in this way as follwow:
    `stream.toTable(tEnv, 'long, 'int, 'double, 'float, 'bigdec, 'string, 
'rowtime.rowtime)`
    Because we do not need the value of `'long` field. It's just a indicators 
in stream.


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