Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/12029 )
Change subject: IMPALA-7473: fix crash when printing decimal with -v=3 ...................................................................... IMPALA-7473: fix crash when printing decimal with -v=3 The bug is that gcc emitted an aligned load instruction to the int128 value_, and we didn't exercise that code path in our testing. The fix is to use memcpy() to force an unaligned load. Also fix a NullPointerException in the frontend encountered when running some tests with -v=3. Testing: Added a unit test that crashed when run with a release build. Change-Id: I772681b78cda27d6c2086b91151ca8bdcd901828 Reviewed-on: http://gerrit.cloudera.org:8080/12029 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- M be/src/runtime/decimal-test.cc M be/src/runtime/decimal-value.inline.h M fe/src/main/java/org/apache/impala/planner/PlanNode.java 3 files changed, 37 insertions(+), 9 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/12029 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I772681b78cda27d6c2086b91151ca8bdcd901828 Gerrit-Change-Number: 12029 Gerrit-PatchSet: 4 Gerrit-Owner: Tim Armstrong <tarmstr...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Lars Volker <l...@cloudera.com> Gerrit-Reviewer: Philip Zeyliger <phi...@cloudera.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>