Github user rtudoran commented on a diff in the pull request:
https://github.com/apache/flink/pull/3590#discussion_r107692869
--- Diff:
flink-libraries/flink-table/src/test/scala/org/apache/flink/table/api/scala/stream/sql/SqlITCase.scala
---
@@ -317,4 +317,92 @@ class SqlITCase extends StreamingWithStateTestBase {
result.addSink(new StreamITCase.StringSink)
env.execute()
}
+
+
+ @Test
+ def testAvgSumAggregatationPartition(): Unit = {
--- End diff --
I looked over again. If you try to import
import org.apache.flink.streaming.util. ...you do not have the options to
use KeyedOneInputStreamOperatorTestHarness/OneInputStreamOperatorTestHarness
If it is fine for you i would prefer to keeps things simple and either use
the custom source (as it is not very heavy) or a custom time assignment.
Finally...these works and does the job to test
@fhueske
---
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.
---