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

Doing a select on a orc partitioned hive table fails with ClassCastException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Storage - Hive
    • Labels:
      None

      Description

      SELECT id FROM orc_create_people;

      Query failed: org.apache.drill.exec.rpc.RpcException: Remote failure while running query.[error_id: "dcfd06bf-9239-44cf-8f16-f92ffac39005"
      endpoint {
      address: "drillats4.qa.lab"
      user_port: 31010
      control_port: 31011
      data_port: 31012
      }
      error_type: 0
      message: "Failure while running fragment. < ClassCastException:[ org.apache.drill.exec.vector.Var16CharVector cannot be cast to org.apache.drill.exec.vector.VarCharVector ]"
      ]
      Error: exception while executing query (state=,code=0)

        Attachments

        1. orc_complex.q
          0.6 kB
          Ramana Inukonda Nagaraj
        2. orc_create_people.txt
          4 kB
          Ramana Inukonda Nagaraj
        3. orc_physicalplan.json
          5 kB
          Ramana Inukonda Nagaraj

          Activity

            People

            • Assignee:
              inramana Ramana Inukonda Nagaraj
              Reporter:
              inramana Ramana Inukonda Nagaraj
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: