You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (Jira)" <ji...@apache.org> on 2020/02/08 18:03:00 UTC
[jira] [Created] (KNOX-2227) Strip Leading and Trailing Whitespace
from Headers in KnoxShellTable
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)