Daniel Becker has posted comments on this change. ( http://gerrit.cloudera.org:8080/20494 )
Change subject: IMPALA-12390 (part 4): Enable unnecessary-value-param ...................................................................... Patch Set 5: (3 comments) http://gerrit.cloudera.org:8080/#/c/20494/5/be/src/rpc/thrift-thread.cc File be/src/rpc/thrift-thread.cc: http://gerrit.cloudera.org:8080/#/c/20494/5/be/src/rpc/thrift-thread.cc@72 PS5, Line 72: promise->Set(get_current()); We could still say something about why we need 'runnable' as an extra argument instead of using 'this'. We could point to the comment on L35. http://gerrit.cloudera.org:8080/#/c/20494/4/be/src/util/decimal-util.h File be/src/util/decimal-util.h: http://gerrit.cloudera.org:8080/#/c/20494/4/be/src/util/decimal-util.h@49 PS4, Line 49: static T SafeMultiply(T a, T b, bool may_overflow) { > I think SafeMultiply below isn't actually a template specialization. I think it's a regular overload right now. I don't think we can turn it into a template specialsation because of the difference in the argument type. http://gerrit.cloudera.org:8080/#/c/20494/4/be/src/util/decimal-util.h@55 PS4, Line 55: int256_t > I'm not sure. This call is flagged because the operators for int256_t all t Ok, let's hope the change above solved it for all cases. -- To view, visit http://gerrit.cloudera.org:8080/20494 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I8aa5d98596d82f615a0a728e0235e7dd9d8b5003 Gerrit-Change-Number: 20494 Gerrit-PatchSet: 5 Gerrit-Owner: Michael Smith <[email protected]> Gerrit-Reviewer: Anonymous Coward <[email protected]> Gerrit-Reviewer: Daniel Becker <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Comment-Date: Tue, 26 Sep 2023 17:20:32 +0000 Gerrit-HasComments: Yes
