[
https://issues.apache.org/jira/browse/LENS-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14248215#comment-14248215
]
Jaideep Dhok commented on LENS-125:
-----------------------------------
bq. getting rewritten as SELECT ( - 1 ) col1 , ( table1 . col2 ) FROM table1
[~raghavendra.singh] Is this not the expected output?
> negative constants are getting rewritten incorrectly
> ----------------------------------------------------
>
> Key: LENS-125
> URL: https://issues.apache.org/jira/browse/LENS-125
> Project: Apache Lens
> Issue Type: Bug
> Reporter: Raghavendra Singh
> Assignee: Jaideep Dhok
> Fix For: 2.0
>
> Attachments: LENS-125.1.patch.txt
>
>
> consider query:-
> cube select -1 as col1,col2 from table1
> is getting rewritten as:-
> SELECT ( 1 - ) col1 , ( table1 . col2 ) FROM table1
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)