impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huaisi Xu (Code Review)" <ger...@cloudera.org>
Subject [Impala-CR](cdh5-trunk) IMPALA-2729: Support default values for DECIMAL in Avro.
Date Fri, 26 Feb 2016 18:16:55 GMT
Huaisi Xu has uploaded a new patch set (#2).

Change subject: IMPALA-2729: Support default values for DECIMAL in Avro.
......................................................................

IMPALA-2729: Support default values for DECIMAL in Avro.

default value for decimal must be in utf8 code points, i.e.
"\\u0000\\u0001" for 256, etc. If this value does not fit
in the specified precision/scale in the schema, then the
result is undefined. i.e. a 10 bytes string with a
precision 2, scale 1 schema.

Change-Id: I4881bf266f3ed8281c0d01b260e4e66ea3dee8a7
---
M be/src/exec/hdfs-avro-scanner.cc
M bin/impala-config.sh
M tests/query_test/test_decimal_queries.py
3 files changed, 66 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/29/2329/2
-- 
To view, visit http://gerrit.cloudera.org:8080/2329
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I4881bf266f3ed8281c0d01b260e4e66ea3dee8a7
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Huaisi Xu <hxu@cloudera.com>
Gerrit-Reviewer: Huaisi Xu <hxu@cloudera.com>

Mime
View raw message