Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5641

Error: VALIDATION ERROR: class org.apache.calcite.sql.SqlNodeList

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.10.0
    • Fix Version/s: None
    • Component/s: Server
    • Labels:
      None
    • Environment:

      Drill 1.10

      Description

      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
      )

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              the6campbells N Campbell
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: