Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5F8AA200B0F for ; Fri, 17 Jun 2016 12:27:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5DFC6160A61; Fri, 17 Jun 2016 10:27:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A628C160A50 for ; Fri, 17 Jun 2016 12:27:18 +0200 (CEST) Received: (qmail 62411 invoked by uid 500); 17 Jun 2016 10:27:17 -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 62400 invoked by uid 99); 17 Jun 2016 10:27:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jun 2016 10:27:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 393C7180501 for ; Fri, 17 Jun 2016 10:27:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-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 mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id R4T_NNjLH3Cf for ; Fri, 17 Jun 2016 10:27:15 +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 mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 9ED145F4E6 for ; Fri, 17 Jun 2016 10:27:14 +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 u5HARD0c020712; Fri, 17 Jun 2016 10:27:13 GMT Message-Id: <201606171027.u5HARD0c020712@ip-10-146-233-104.ec2.internal> Date: Fri, 17 Jun 2016 10:27:13 +0000 From: "Bharath Vissapragada (Code Review)" To: Huaisi Xu , impala-cr@cloudera.com, dev@impala.incubator.apache.org CC: Alex Behm , Dimitris Tsirogiannis , Dan Hecht , Juan Yu Reply-To: bharathv@cloudera.com X-Gerrit-MessageType: comment Subject: =?UTF-8?Q?=5BImpala-CR=5D=28cdh5-trunk=29_IMPALA-3687=3A_Prefer_Avro_field_name_during_schema_reconciliation=0A?= X-Gerrit-Change-Id: Ia3e43b2885853c2b4f207a45a873c9d7f31379cd X-Gerrit-ChangeURL: X-Gerrit-Commit: 2eaba97daed4f0d452bda507e3787d2930c1fa18 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.12.2 archived-at: Fri, 17 Jun 2016 10:27:19 -0000 Bharath Vissapragada has posted comments on this change. Change subject: IMPALA-3687: Prefer Avro field name during schema reconciliation ...................................................................... Patch Set 6: (1 comment) http://gerrit.cloudera.org:8080/#/c/3331/6/fe/src/main/java/com/cloudera/impala/util/AvroSchemaUtils.java File fe/src/main/java/com/cloudera/impala/util/AvroSchemaUtils.java: Line 136: // as a CHAR/VARCHAR/STRING in the reconciled schema. Column name and comment > Just my two cents. Why don't we just throw an error if they are inconsisten I discussed this with Alex in the past. From what I understand all this reconciliation logic was done to be consistent with Hive (although there are quite a few rough edges). May be he can give more context once he is back from vacation. -- To view, visit http://gerrit.cloudera.org:8080/3331 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia3e43b2885853c2b4f207a45a873c9d7f31379cd Gerrit-PatchSet: 6 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Huaisi Xu Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Bharath Vissapragada Gerrit-Reviewer: Dan Hecht Gerrit-Reviewer: Dimitris Tsirogiannis Gerrit-Reviewer: Huaisi Xu Gerrit-Reviewer: Juan Yu Gerrit-HasComments: Yes