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

Add JSON output to the hive ddl commands

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • None
    • 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. hive-json-02-branch0-8.patch
          69 kB
          Chris Dean
        2. hive-json-02.patch
          69 kB
          Chris Dean
        3. hive-json-01-branch0-8.patch
          48 kB
          Alan Gates
        4. hive-json-01.patch
          46 kB
          Chris Dean
        5. HIVE-2822.05-branch0-8-1.patch
          81 kB
          Alan Gates
        6. HIVE-2822.05-branch0-8.patch
          81 kB
          Chris Dean
        7. HIVE-2822.05.patch
          80 kB
          Chris Dean
        8. HIVE-2822.04-branch-08.patch
          81 kB
          Alan Gates
        9. HIVE-2822.03-branch0-8.patch
          80 kB
          Chris Dean
        10. HIVE-2822.03b.patch
          80 kB
          Chris Dean
        11. HIVE-2822.03.patch
          80 kB
          Chris Dean
        12. ASF.LICENSE.NOT.GRANTED--HIVE-2822.D2475.4.patch
          83 kB
          Phabricator
        13. ASF.LICENSE.NOT.GRANTED--HIVE-2822.D2475.3.patch
          83 kB
          Phabricator
        14. ASF.LICENSE.NOT.GRANTED--HIVE-2822.D2475.2.patch
          85 kB
          Phabricator
        15. ASF.LICENSE.NOT.GRANTED--HIVE-2822.D2475.1.patch
          78 kB
          Phabricator

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: