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

Add Column Mapping to JsonSerDe

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0, 4.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      Enhance the JSON SerDe to accept a SerDe property that allows for arbitrary mapping of JSON parameter names to column names. This would be very similar to Hive HBase integration.

      {"fname":"John","lname":"Doe"}
      
      CREATE TABLE (
      first_name string,
      last_name string,
      ...
      WITH SERDEPROPERTIES (
      "json.columns.mapping" = "fname:first_name,lname:last_name"
      );
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                belugabehr David Mollitor
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: