[
https://issues.apache.org/jira/browse/LENS-1411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978533#comment-15978533
]
Hadoop QA commented on LENS-1411:
---------------------------------
Applied patch:
[LENS-1411.patch|https://issues.apache.org/jira/secure/attachment/12863776/LENS-1411.patch]
and ran command: mvn clean install -fae. Result: Success. Build Job:
https://builds.apache.org/job/PreCommit-Lens-Build/1260/
> Queries not rewritten correctly when aggregate expression used inside "case
> when..."
> ------------------------------------------------------------------------------------
>
> Key: LENS-1411
> URL: https://issues.apache.org/jira/browse/LENS-1411
> Project: Apache Lens
> Issue Type: Bug
> Components: cube
> Reporter: Sushil Mohanty
> Assignee: Sushil Mohanty
> Attachments: LENS-1411.patch
>
>
> Found error in rewritten query when aggregate expressions used inside "case
> when" statement.
> for eg :
> {CODE}
> CASE
> WHEN (sum((db.msr1)) = 0) THEN 0
> ELSE ((sum((db.msr2)) / sum((db.msr1))) * 1000)
> END AS `expr1`
> {CODE}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)