Re: Question on the SQL "GROUPING SETS" and "CUBE" syntax usability

2020-03-10 Thread Jark Wu
Thanks Arvid for reminding me this topic. Actually, it is supported in streaming mode in blink planner (since Flink v1.9), but we missed to update the documentation. You can also find it is supported in the integration tests [1]. I created an issue to update docs [2]. Best, Jark [1]: https://gi

Re: Question on the SQL "GROUPING SETS" and "CUBE" syntax usability

2020-03-10 Thread Arvid Heise
Hi Weike, according to the linked documentation, the operations are ready but as you have mentioned only for SQL batch mode, which is not surprising as they don't have a well-behaved semantics on streams. See also Calcites explanations [1]. Could you maybe outline your use case and what you'd exp

Question on the SQL "GROUPING SETS" and "CUBE" syntax usability

2020-03-09 Thread DONG, Weike
Hi, >From the Flink 1.10 official document ( https://ci.apache.org/projects/flink/flink-docs-release-1.10/dev/table/sql/queries.html), we could see that GROUPING SETS is only supported in Batch mode. [image: image.png] However, we also found that in https://issues.apache.org/jira/browse/FLINK-1