Repository: lens Updated Branches: refs/heads/master 26125ac67 -> a963d985b
LENS-1487: Incorrect handling of array columns in python client Project: http://git-wip-us.apache.org/repos/asf/lens/repo Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/a963d985 Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/a963d985 Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/a963d985 Branch: refs/heads/master Commit: a963d985b8f345f55eab2c15a88be94943836b80 Parents: 26125ac Author: Rajat Khandelwal <[email protected]> Authored: Wed Nov 22 13:12:20 2017 +0530 Committer: Rajat Khandelwal <[email protected]> Committed: Wed Nov 22 13:12:20 2017 +0530 ---------------------------------------------------------------------- contrib/clients/python/lens/client/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lens/blob/a963d985/contrib/clients/python/lens/client/query.py ---------------------------------------------------------------------- diff --git a/contrib/clients/python/lens/client/query.py b/contrib/clients/python/lens/client/query.py index df16cca..1cd3291 100644 --- a/contrib/clients/python/lens/client/query.py +++ b/contrib/clients/python/lens/client/query.py @@ -62,7 +62,7 @@ type_mappings = {'BOOLEAN': bool, 'DOUBLE': float, 'TIMESTAMP': long_type, 'BINARY': bin, - 'ARRAY': list, + 'ARRAY': lambda x: list(y.strip() for y in x.split(",")), 'MAP': dict, # 'STRUCT,': str, # 'UNIONTYPE,': float,
