David Knupp has posted comments on this change. ( http://gerrit.cloudera.org:8080/9770 )
Change subject: IMPALA-5721,IMPALA-6717,IMPALA-6738: improve stress test binary search ...................................................................... Patch Set 8: (1 comment) http://gerrit.cloudera.org:8080/#/c/9770/7/tests/stress/concurrent_select.py File tests/stress/concurrent_select.py: http://gerrit.cloudera.org:8080/#/c/9770/7/tests/stress/concurrent_select.py@141 PS7, Line 141: argparse.Namespace > Nice idea. I tend to think __getattr__ is just as magical, and I tend to av Yeah, __getattribute__ is the weird one. I think of implementing __getattr__ as being on par with implementing __iter__ or __str__. For what it's worth, if you do this, I'd just keep using "args", rather switching to some new variable name, i.e.: args = StressArgs(parser.parse_args()) It might cut down on some unnecessary noise later in the diff. -- To view, visit http://gerrit.cloudera.org:8080/9770 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I33d036ec93df3016cd4703205078dbdba0168acb Gerrit-Change-Number: 9770 Gerrit-PatchSet: 8 Gerrit-Owner: Michael Brown <[email protected]> Gerrit-Reviewer: David Knupp <[email protected]> Gerrit-Reviewer: Michael Brown <[email protected]> Gerrit-Reviewer: Nithya Janarthanan <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Comment-Date: Tue, 27 Mar 2018 22:01:15 +0000 Gerrit-HasComments: Yes
