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

HS2 should return describe table results without space padding

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: HiveServer2
    • Labels:
      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 M Nair
        2. HIVE-4545.5.patch
          105 kB
          Vaibhav Gumashta
        3. HIVE-4545.4.patch
          19 kB
          Thejas M Nair
        4. HIVE-4545.3.patch
          21 kB
          Thejas M Nair
        5. HIVE-4545.2.patch
          20 kB
          Thejas M Nair

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: