Hive
  1. Hive
  2. HIVE-2171

Allow custom serdes to set field comments

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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.

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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Jakob Homan
            Reporter:
            Jakob Homan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development