Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-23529

CTAS is broken for uniontype when row_deserialize

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • None
    • None

    Description

      CTAS queries fail when there is a uniontype in source table and hive.vectorized.use.vector.serde.deserialize=false.

      ObjectInspectorUtils.copyToStandardObject in ROW_DESERIALIZE path extracts the value from union type. However, VectorAssignRow expects a StandardUnion object causing ClassCastException for any CTAS query.

      Attachments

        1. HIVE-23529.patch
          5 kB
          Mustafa İman
        2. HIVE-23529.patch
          8 kB
          Mustafa İman

        Activity

          People

            mustafaiman Mustafa İman
            mustafaiman Mustafa İman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: