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

Non-default OI constructors should be supported for backwards compatibility

Log workAgile BoardRank to TopRank to BottomVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: None
    • Labels:
      None
    • Release Note:
      Hide
      Apache Hive recommends that custom ObjectInspectors created for use with custom Serdes have a no-argument constructor in addition to their normal constructors for serialization purposes. See HIVE-5380 for more details.
      Show
      Apache Hive recommends that custom ObjectInspectors created for use with custom Serdes have a no-argument constructor in addition to their normal constructors for serialization purposes. See HIVE-5380 for more details.

      Description

      In HIVE-5263 we started serializing OI's when cloning the plan. This was a great boost in speed for many queries. In the future we'd like to stop copying the OI's, perhaps in HIVE-4396.

      Until then Custom Serdes will not work on trunk. This is a fix to allow custom serdes such as the Hive JSon Serde work until we address the fact we don't want to have to copy the OI's. Since this is modifying the byte code, we should recommend that the no-arg constructor be added.

        Attachments

        1. HIVE-5380.patch
          1.0 kB
          Brock Noland
        2. HIVE-5380.patch
          1 kB
          Brock Noland
        3. HIVE-5380.patch
          1 kB
          Brock Noland

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              brocknoland Brock Noland Assign to me
              Reporter:
              brocknoland Brock Noland

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment