[
https://issues.apache.org/jira/browse/LENS-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14285635#comment-14285635
]
Hudson commented on LENS-131:
-----------------------------
UNSTABLE: Integrated in Lens-Commit #80 (See
[https://builds.apache.org/job/Lens-Commit/80/])
LENS-131 : Fixes groupby resolver not to promote when constants are projected (
Sushil Mohanty via amareshwari) (amareshwari.sr: rev
930343b912583df898e04fd735f4a217398c02fe)
* lens-cube/src/test/java/org/apache/lens/cube/parse/TestCubeRewriter.java
* lens-cube/src/main/java/org/apache/lens/cube/parse/GroupbyResolver.java
> Query fails when constants projected
> -------------------------------------
>
> Key: LENS-131
> URL: https://issues.apache.org/jira/browse/LENS-131
> Project: Apache Lens
> Issue Type: Bug
> Components: driver-jdbc
> Reporter: Sushil Mohanty
> Assignee: Sushil Mohanty
> Fix For: 2.0
>
> Attachments: LENS-131-5.patch, LENS-131.patch
>
>
> Queries having constants projected fails with below error.
> {CODE}
> select tab1.id ,99 as col2, sum(col3) as sum_col3 from tab1 group by
> tab1.id,99;
> ERROR 1054 (42S22): Unknown column '99' in 'group statement'
> {CODE}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)