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

Add JSON output to the hive ddl commands

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: None
    • Labels:
      None

      Description

      The goal is to have an option to produce JSON output of the DDL commands that is easily machine parseable.

      For example, "desc my_table" currently gives

          id    bigint
          user  string
      

      and we want to allow a json output:

          {
            "columns": [
              {"name": "id", "type": "bigint"},
              {"name": "user", "type": "string"}
            ]
          }
      

        Attachments

        1. ASF.LICENSE.NOT.GRANTED--HIVE-2822.D2475.1.patch
          78 kB
          Phabricator
        2. ASF.LICENSE.NOT.GRANTED--HIVE-2822.D2475.2.patch
          85 kB
          Phabricator
        3. ASF.LICENSE.NOT.GRANTED--HIVE-2822.D2475.3.patch
          83 kB
          Phabricator
        4. ASF.LICENSE.NOT.GRANTED--HIVE-2822.D2475.4.patch
          83 kB
          Phabricator
        5. HIVE-2822.03.patch
          80 kB
          Chris Dean
        6. HIVE-2822.03b.patch
          80 kB
          Chris Dean
        7. HIVE-2822.03-branch0-8.patch
          80 kB
          Chris Dean
        8. HIVE-2822.04-branch-08.patch
          81 kB
          Alan Gates
        9. HIVE-2822.05.patch
          80 kB
          Chris Dean
        10. HIVE-2822.05-branch0-8.patch
          81 kB
          Chris Dean
        11. HIVE-2822.05-branch0-8-1.patch
          81 kB
          Alan Gates
        12. hive-json-01.patch
          46 kB
          Chris Dean
        13. hive-json-01-branch0-8.patch
          48 kB
          Alan Gates
        14. hive-json-02.patch
          69 kB
          Chris Dean
        15. hive-json-02-branch0-8.patch
          69 kB
          Chris Dean

          Activity

            People

            • Assignee:
              ctdean Chris Dean
              Reporter:
              ctdean Chris Dean
            • Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: