Taras Bobrovytsky has uploaded this change for review. ( http://gerrit.cloudera.org:8080/8969
Change subject: IMPALA-5014: Part 2: Round when casting decimal to timestamp ...................................................................... IMPALA-5014: Part 2: Round when casting decimal to timestamp When there are too many digits to the right of the dot in a decimal, we would always truncate when casting to timestamp. In this patch we change the behavior to round instead of truncating when decimal_v2 is enabled. Testing: - Added some EE tests, ran BE tests on my machine. Change-Id: I8fb3a7d976ab980b8572d7e9524850572bad57da --- M be/src/exprs/decimal-operators-ir.cc M be/src/exprs/decimal-operators.h M testdata/workloads/functional-query/queries/QueryTest/decimal-exprs.test 3 files changed, 65 insertions(+), 14 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/69/8969/1 -- To view, visit http://gerrit.cloudera.org:8080/8969 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8fb3a7d976ab980b8572d7e9524850572bad57da Gerrit-Change-Number: 8969 Gerrit-PatchSet: 1 Gerrit-Owner: Taras Bobrovytsky <tbobrovyt...@cloudera.com>