flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1990) Uppercase "AS" keyword not allowed in select expression
Date Mon, 11 May 2015 15:17:00 GMT

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

ASF GitHub Bot commented on FLINK-1990:
---------------------------------------

Github user aljoscha commented on the pull request:

    https://github.com/apache/flink/pull/667#issuecomment-100940455
  
    Thanks for your contribution!
    
    Could you maybe enhance it along these lines: http://stackoverflow.com/questions/6080437/case-insensitive-scala-parser-combinator
    
    Because right now it would only support as and AS, but not As or aS. I know the latter
is a rather academic example, but still...
    
    Would you also be interested in adding SQL style aggregations, for example COUNT(field),
MAX(field) and so on? I could open a Jira for this.


> Uppercase "AS" keyword not allowed in select expression
> -------------------------------------------------------
>
>                 Key: FLINK-1990
>                 URL: https://issues.apache.org/jira/browse/FLINK-1990
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API
>    Affects Versions: 0.9
>            Reporter: Fabian Hueske
>            Assignee: Aljoscha Krettek
>            Priority: Minor
>             Fix For: 0.9
>
>
> Table API select expressions do not allow an uppercase "AS" keyword.
> The following expression fails with an {{ExpressionException}}:
>  {{table.groupBy("request").select("request, request.count AS cnt")}}



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

Mime
View raw message