Return-Path: X-Original-To: apmail-impala-dev-archive@minotaur.apache.org Delivered-To: apmail-impala-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 167801815E for ; Fri, 26 Feb 2016 18:17:03 +0000 (UTC) Received: (qmail 94129 invoked by uid 500); 26 Feb 2016 18:17:00 -0000 Delivered-To: apmail-impala-dev-archive@impala.apache.org Received: (qmail 94099 invoked by uid 500); 26 Feb 2016 18:17:00 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 94086 invoked by uid 99); 26 Feb 2016 18:16:59 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Feb 2016 18:16:59 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5DB961A02A0 for ; Fri, 26 Feb 2016 18:16:59 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id nqOKGsQFScDp for ; Fri, 26 Feb 2016 18:16:58 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6C70A5F39D for ; Fri, 26 Feb 2016 18:16:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id u1QIGvmn019381; Fri, 26 Feb 2016 18:16:57 GMT Message-Id: <201602261816.u1QIGvmn019381@ip-10-146-233-104.ec2.internal> Date: Fri, 26 Feb 2016 18:16:55 +0000 From: "Huaisi Xu (Code Review)" To: impala-cr@cloudera.com, dev@impala.incubator.apache.org Reply-To: hxu@cloudera.com X-Gerrit-MessageType: newpatchset Subject: =?UTF-8?Q?[Impala-CR](cdh5-trunk)_IMPALA-2729:_Support_default_values_for_DECIMAL_in_Avro.=0A?= X-Gerrit-Change-Id: I4881bf266f3ed8281c0d01b260e4e66ea3dee8a7 X-Gerrit-ChangeURL: X-Gerrit-Commit: 1528c7008873e8288c3e3af8950c63035310fb27 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.10-rc0 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 Gerrit-Reviewer: Huaisi Xu