You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (JIRA)" <ji...@apache.org> on 2016/09/08 01:44:20 UTC

[jira] [Commented] (FLINK-4591) Select star does not work with grouping

    [ https://issues.apache.org/jira/browse/FLINK-4591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15472401#comment-15472401 ] 

Jark Wu commented on FLINK-4591:
--------------------------------

It seems that {{GROUP BY *}} is not allowed in SQL.  Maybe we can throw a better exception to explain this when user use star in groupBy. Currently, the exception is "cannot resolve [*] given input [a, b, c]" which is not clear.

> Select star does not work with grouping
> ---------------------------------------
>
>                 Key: FLINK-4591
>                 URL: https://issues.apache.org/jira/browse/FLINK-4591
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API & SQL
>            Reporter: Timo Walther
>
> It would be consistent if this would also work:
> {{table.groupBy('*).select("*)}}
> Currently, the star only works in a plain select without grouping.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)