Larry McCay created KNOX-2227: --------------------------------- Summary: Strip Leading and Trailing Whitespace from Headers in KnoxShellTable Key: KNOX-2227 URL: https://issues.apache.org/jira/browse/KNOX-2227 Project: Apache Knox Issue Type: Improvement Components: KnoxShell Reporter: Larry McCay Assignee: Larry McCay Fix For: 1.4.0
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. -- This message was sent by Atlassian Jira (v8.3.4#803005)