N Campbell created DRILL-5640:
---------------------------------

             Summary: 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: Improvement
          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)

Reply via email to