Taras Bobrovytsky has uploaded a new patch set (#5).

Change subject: IMPALA-3163: Fix Decimal to Timestamp casting
......................................................................

IMPALA-3163: Fix Decimal to Timestamp casting

Before this patch, we would first convert the Decimal to Double, then
Double to Timestamp. This would result in slightly imprecise results.

Change-Id: Iabeea9f4ab4880b2f814408add63c77916e2dba9
---
M be/src/exprs/decimal-operators-ir.cc
M be/src/exprs/decimal-operators.h
M fe/src/main/java/com/cloudera/impala/analysis/CastExpr.java
M testdata/workloads/functional-query/queries/QueryTest/exprs.test
4 files changed, 74 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/91/2791/5
-- 
To view, visit http://gerrit.cloudera.org:8080/2791
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iabeea9f4ab4880b2f814408add63c77916e2dba9
Gerrit-PatchSet: 5
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Taras Bobrovytsky <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>

Reply via email to