You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Liu (Jira)" <ji...@apache.org> on 2020/04/29 01:58:00 UTC
[jira] [Updated] (FLINK-17446) Blink supports cube and window
together in group by
[ https://issues.apache.org/jira/browse/FLINK-17446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Liu updated FLINK-17446:
------------------------
Description:
Blink planner supports CUBE. CUBE can be used together with a field but not window. For example, the following SQL is not supported:
SELECT A, B, sum(C)
FROM person
GROUP BY cube(A, B), TUMBLE(curTimestamp, interval '1' minute)
It is a missing feature. Maybe it should be supported. Detail is in [http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Blink-window-and-cube-td34761.html#a34768]
was:
Blink planner supports CUBE. CUBE can be used together with a field but not window. For example, the following SQL is not supported:
SELECT A, B, sum(C)
FROM person
GROUP BY cube(A, B), TUMBLE(curTimestamp, interval '1' minute)
It is a missing feature. Maybe it should be supported. Detail is in [user mailing list|[http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Blink-window-and-cube-td34761.html#a34768]]
> Blink supports cube and window together in group by
> ---------------------------------------------------
>
> Key: FLINK-17446
> URL: https://issues.apache.org/jira/browse/FLINK-17446
> Project: Flink
> Issue Type: New Feature
> Components: API / Core
> Reporter: Liu
> Priority: Minor
>
> Blink planner supports CUBE. CUBE can be used together with a field but not window. For example, the following SQL is not supported:
>
> SELECT A, B, sum(C)
> FROM person
> GROUP BY cube(A, B), TUMBLE(curTimestamp, interval '1' minute)
>
> It is a missing feature. Maybe it should be supported. Detail is in [http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Blink-window-and-cube-td34761.html#a34768]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)