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

Comment indenting is broken for "describe" in CLI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0, 0.11.0
    • CLI
    • Incompatible change, Reviewed

    Description

      Just go into the CLI and type "describe [TABLE_NAME]". If a comment has multiple lines, it is completely unreadable due to poor comment indenting. For example:
      birthdayParam string 1 = comment1
      2 = comment2
      3 = comment3

      But it supposed to display as:
      birthdayParam string 1 = comment1
      2 = comment2
      3 = comment3

      Comments should be indented the same amount on each line, i.e., if the comment starts at row k for the first line of the comment, it should be indented by k on line 2.

      Attachments

        1. hive.3140.3.patch
          134 kB
          Namit Jain
        2. HIVE-3140.1.patch.txt
          133 kB
          Zhenxiao Luo
        3. HIVE-3140.2.patch.txt
          136 kB
          Zhenxiao Luo
        4. HIVE-3140.3.patch.txt
          280 kB
          Zhenxiao Luo

        Issue Links

          Activity

            People

              zhenxiao Zhenxiao Luo
              xhou Xiaoxiao Hou
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 72h
                  72h
                  Remaining:
                  Remaining Estimate - 72h
                  72h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified