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

Jaideep Dhok edited comment on LENS-125 at 12/16/14 4:43 AM:
-------------------------------------------------------------

Error is because use of unary minus operator is not handled in 
HQLParser.getString. I am working on a patch to fix that.


was (Author: jaideepdhok):
Error is because unary use of minus operator is not handled in 
HQLParser.getString. I am working on a patch to fix that.

> 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
>             Fix For: 2.0
>
>
> 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)

Reply via email to