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

Describe Extended output is truncated on a table with an explicit row format containing tabs or newlines.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      'Describe Extended' dumps information about a table. The protocol for sending this data relies on tabs and newlines to separate pieces of data. If a table has 'FIELDS terminated by XXX' or 'LINES terminated by XXX' where XXX is a tab or newline then the output seen by the user is prematurely truncated. Fix this by replacing tabs and newlines in the table description with “\n” and “\t”.

      Attachments

        1. HIVE-18367.6.patch
          23 kB
          Andrew Sherman
        2. HIVE-18367.5.patch
          23 kB
          Andrew Sherman
        3. HIVE-18367.4.patch
          23 kB
          Andrew Sherman
        4. HIVE-18367.3.patch
          22 kB
          Andrew Sherman
        5. HIVE-18367.2.patch
          5 kB
          Andrew Sherman
        6. HIVE-18367.1.patch
          4 kB
          Andrew Sherman

        Activity

          People

            asherman Andrew Sherman
            asherman Andrew Sherman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: