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

CTAS is broken for uniontype when row_deserialize

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment