Jim Apple has posted comments on this change. Change subject: IMPALA-5031: Remove undefined behavior: left shift of large signed ......................................................................
Patch Set 2: (2 comments) http://gerrit.cloudera.org:8080/#/c/6528/1/be/src/exprs/bit-byte-functions-ir.cc File be/src/exprs/bit-byte-functions-ir.cc: Line 151: return static_cast<T>((static_cast<std::make_unsigned_t<T>>(v) << shift) > There's an implicit conversion back to the signed return type. I think it w Done Line 170: } > Same here Done -- To view, visit http://gerrit.cloudera.org:8080/6528 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: I748697cf503e9e717a6e95250c2cbbf031c6352d Gerrit-PatchSet: 2 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Jim Apple <[email protected]> Gerrit-Reviewer: Jim Apple <[email protected]> Gerrit-Reviewer: Lars Volker <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-HasComments: Yes
