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

Allow custom serdes to set field comments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.8.0
    • None
    • None
    • Reviewed

    Description

      Currently, while serde implementations can set a field's name, they can't set its comment. These are set in the metastore utils to (from deserializer). For those serdes that can provide meaningful comments for a field, they should be propagated to the table description. These serde-provided comments could be prepended to "(from deserializer)" if others feel that's a meaningful distinction. This change involves updating StructField to support a (possibly null) comment field and then propagating this change out to the myriad places StructField is thrown around.

      Attachments

        1. HIVE-2171-2.patch
          36 kB
          Jakob Homan
        2. HIVE-2171.patch
          36 kB
          Jakob Homan

        Activity

          People

            jghoman Jakob Homan
            jghoman Jakob Homan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: