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

Union all operator not working with tables in hive

    XMLWordPrintableJSON

Details

    Description

      Attached the DDL and a small data set that I used. The below query fails to be parsed

      select * from hive.hivestudents1 union all select * from hive.hivestudents2;

      Error: exception while executing query (state=,code=0)
      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "2602c8e6-2654-40bd-b000-3f015e7d699f"
      endpoint {
      address: "qa-node191.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while parsing sql. < CannotPlanException:[ Node [rel#125:Subset#8.PHYSICAL.SINGLETON([]).[]] could not be implemented; planner state:

      Root: rel#125:Subset#8.PHYSICAL.SINGLETON([]).[]

      Attachments

        1. unionall.ddl
          0.6 kB
          Rahul Kumar Challapalli
        2. students.txt
          0.1 kB
          Rahul Kumar Challapalli

        Issue Links

          Activity

            People

              amansinha100 Aman Sinha
              rkins Rahul Kumar Challapalli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: