Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/17412 )
Change subject: IMPALA-5121: Fix AVG() on timestamp col with use_local_tz_for_unix_timestamp_conversions ...................................................................... IMPALA-5121: Fix AVG() on timestamp col with use_local_tz_for_unix_timestamp_conversions AVG used to contain a back and forth timezone conversion if use_local_tz_for_unix_timestamp_conversions is true. This could affect the results if there were values from different DST rules. Note that AVG on timestamps has other issues besides this, see IMPALA-7472 for details. Testing: - added a regression test Change-Id: I999099de8e07269b96b75d473f5753be4479cecd Reviewed-on: http://gerrit.cloudera.org:8080/17412 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M be/src/exprs/aggregate-functions-ir.cc M testdata/workloads/functional-query/queries/QueryTest/utc-timestamp-functions.test 2 files changed, 15 insertions(+), 6 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/17412 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I999099de8e07269b96b75d473f5753be4479cecd Gerrit-Change-Number: 17412 Gerrit-PatchSet: 3 Gerrit-Owner: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Attila Jeges <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
