Fredy Wijaya has posted comments on this change. ( http://gerrit.cloudera.org:8080/12781 )
Change subject: IMPALA-8317: Add support for list type flags in Impala shell config file ...................................................................... Patch Set 9: Code-Review+2 (3 comments) Carry Bharath's +2. http://gerrit.cloudera.org:8080/#/c/12781/8/shell/option_parser.py File shell/option_parser.py: http://gerrit.cloudera.org:8080/#/c/12781/8/shell/option_parser.py@78 PS8, Line 78: result[option] = value.split('\n') > Kinda curious why you have to split on '\n' here again. Looks like you are Yeah this probably has something to do with the implementation of ConfigParser. See https://stackoverflow.com/questions/15848674/how-to-configparse-a-file-keeping-multiple-values-for-identical-keys#comment91291420_15848928. http://gerrit.cloudera.org:8080/#/c/12781/8/shell/option_parser.py@86 PS8, Line 86: class MultiOrderedDict(OrderedDict): > Add a doc? (why this is used) Done http://gerrit.cloudera.org:8080/#/c/12781/8/tests/shell/good_impalarc File tests/shell/good_impalarc: http://gerrit.cloudera.org:8080/#/c/12781/8/tests/shell/good_impalarc@4 PS8, Line 4: keyval=msg1=hello > nit: Move the comment to the opt_parser where we parse this? Done -- To view, visit http://gerrit.cloudera.org:8080/12781 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I824ca15b4e1064a391b13deef9cecd34c928ef73 Gerrit-Change-Number: 12781 Gerrit-PatchSet: 9 Gerrit-Owner: Fredy Wijaya <fwij...@cloudera.com> Gerrit-Reviewer: Anonymous Coward (395) Gerrit-Reviewer: Bharath Vissapragada <bhara...@cloudera.com> Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com> Gerrit-Reviewer: Fredy Wijaya <fwij...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Comment-Date: Thu, 21 Mar 2019 00:48:36 +0000 Gerrit-HasComments: Yes