Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2227

Strip Leading and Trailing Whitespace from Headers in KnoxShellTable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0
    • KnoxShell
    • None

    Description

      Currently headers are added to KnoxShellTable with any trailing or leading spaces intact. This makes any operations on the table that take a header name as a parameter difficult to use. There is no way to determine whether there are such spaces in the table even when rendered due to the padding in the cell.

      I can't think of any reason that such spaces need to be retained even for CSV files when they exist in the source file.

      This patch will trim the spaces so that header name based operations are more easily done and coded.

      Attachments

        Issue Links

          Activity

            People

              lmccay Larry McCay
              lmccay Larry McCay
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m