Huaisi Xu has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/2329

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/1
-- 
To view, visit http://gerrit.cloudera.org:8080/2329
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4881bf266f3ed8281c0d01b260e4e66ea3dee8a7
Gerrit-PatchSet: 1
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Huaisi Xu <[email protected]>

Reply via email to