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

HS2 should return describe table results without space padding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13.0
    • HiveServer2
    • None

    Description

      HIVE-3140 changed behavior of 'DESCRIBE table;' to be like 'DESCRIBE FORMATTED table;'. HIVE-3140 introduced changes to not print header in 'DESCRIBE table;'. But jdbc/odbc calls still get fields padded with space for the 'DESCRIBE table;' query.

      As the jdbc/odbc results are not for direct human consumption the space padding should not be done for hive server2.

      Attachments

        1. HIVE-4545-1.patch
          22 kB
          Thejas Nair
        2. HIVE-4545.5.patch
          105 kB
          Vaibhav Gumashta
        3. HIVE-4545.4.patch
          19 kB
          Thejas Nair
        4. HIVE-4545.3.patch
          21 kB
          Thejas Nair
        5. HIVE-4545.2.patch
          20 kB
          Thejas Nair

        Issue Links

          Activity

            People

              vgumashta Vaibhav Gumashta
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: