drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "N Campbell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-5641) Error: VALIDATION ERROR: class org.apache.calcite.sql.SqlNodeList
Date Fri, 30 Jun 2017 19:42:00 GMT
N Campbell created DRILL-5641:
---------------------------------

             Summary: Error: VALIDATION ERROR: class org.apache.calcite.sql.SqlNodeList
                 Key: DRILL-5641
                 URL: https://issues.apache.org/jira/browse/DRILL-5641
             Project: Apache Drill
          Issue Type: Improvement
          Components:  Server
    Affects Versions: 1.10.0
         Environment: Drill 1.10
            Reporter: N Campbell


Following statement will fail with
Error: VALIDATION ERROR: class org.apache.calcite.sql.SqlNodeList: 


select TJOIN1.C1,TJOIN2.C2 from 
( 
 values 
( 0, 10, 15),
( 1, 20, 25),
( 2, cast(NULL as integer), 50)
 ) TJOIN1 (RNUM, C1, C2)
left outer 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 TJOIN1.C1 and TJOIN1.C1 >= 
(
(select sum(C1) from ( 
 values 
( 0, 10, 15),
( 1, 20, 25),
( 2, cast(NULL as integer), 50)
 ) TX (RNUM, C1, C2)
 )
/2
)




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

Mime
View raw message