drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Hyde (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-5640) NOT <predicate> causes Error: SYSTEM ERROR: IllegalArgumentException: Invalid value for boolean: AA
Date Sat, 01 Jul 2017 15:54:01 GMT

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

Julian Hyde commented on DRILL-5640:
------------------------------------

IIRC we fixed a bug in NOT precedence in Calcite a while ago. Might be same problem. 

> NOT <predicate> causes Error: SYSTEM ERROR: IllegalArgumentException: Invalid value
for boolean: AA
> ---------------------------------------------------------------------------------------------------
>
>                 Key: DRILL-5640
>                 URL: https://issues.apache.org/jira/browse/DRILL-5640
>             Project: Apache Drill
>          Issue Type: Bug
>          Components:  Server
>    Affects Versions: 1.10.0
>         Environment: Drill 1.10
>            Reporter: N Campbell
>
> Following statement will fail, will not fail when NOT removed
> select TJOIN2.RNUM, TJOIN1.C1, TJOIN1.C2, TJOIN2.C2 as C2J2 from 
> ( 
>  values 
> ( 0, 10, 15),
> ( 1, 20, 25),
> ( 2, cast(NULL as integer), 50)
>  ) TJOIN1 (RNUM, C1, C2)
> inner join 
> (
> values ( 0, 10, 'BB'),
> ( 1, 15, 'DD'),
> ( 2, cast(NULL as integer), 'EE'),
> ( 3, 10, 'FF')
> ) TJOIN2 (RNUM, C1, C2)
> on ( TJOIN1.C1 = TJOIN2.C1 and not TJOIN2.C2 = 'AA' )
> Error: SYSTEM ERROR: IllegalArgumentException: Invalid value for boolean: AA



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message