You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "N Campbell (JIRA)" <ji...@apache.org> on 2017/07/01 11:00:00 UTC

[jira] [Updated] (DRILL-5641) Error: VALIDATION ERROR: class org.apache.calcite.sql.SqlNodeList

     [ https://issues.apache.org/jira/browse/DRILL-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

N Campbell updated DRILL-5641:
------------------------------
    Issue Type: Bug  (was: Improvement)

> 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: Bug
>          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)