[
https://issues.apache.org/jira/browse/FLINK-1990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14541701#comment-14541701
]
ASF GitHub Bot commented on FLINK-1990:
---------------------------------------
Github user aljoscha commented on the pull request:
https://github.com/apache/flink/pull/667#issuecomment-101617351
For some reason it doesn't like the keywork2Parser when you use String
Interpolation. If you replace the line with:
```
("""(i?)\Q""" + kw.key + """\E""").r
```
it should work.
> 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)