Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F06D910E87 for ; Thu, 19 Dec 2013 18:13:43 +0000 (UTC) Received: (qmail 85870 invoked by uid 500); 19 Dec 2013 18:13:43 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 85811 invoked by uid 500); 19 Dec 2013 18:13:43 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 85798 invoked by uid 99); 19 Dec 2013 18:13:43 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Dec 2013 18:13:43 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 1603E1D3F7A; Thu, 19 Dec 2013 18:13:42 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============0708954305166389098==" MIME-Version: 1.0 Subject: Re: Review Request 16339: HIVE-6052 metastore JDO filter pushdown for integers may produce unexpected results with non-normalized integer columns From: "Sergey Shelukhin" To: "Ashutosh Chauhan" Cc: "Sergey Shelukhin" , "hive" Date: Thu, 19 Dec 2013 18:13:41 -0000 Message-ID: <20131219181341.5702.77558@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Sergey Shelukhin" X-ReviewGroup: hive X-ReviewRequest-URL: https://reviews.apache.org/r/16339/ X-Sender: "Sergey Shelukhin" References: <20131219114334.2160.72790@reviews.apache.org> In-Reply-To: <20131219114334.2160.72790@reviews.apache.org> Reply-To: "Sergey Shelukhin" X-ReviewRequest-Repository: hive-git --===============0708954305166389098== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit > On Dec. 19, 2013, 11:43 a.m., Ashutosh Chauhan wrote: > > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java, line 345 > > > > > > This should be on by default. After HIVE-5297 storing column values in non-canonical forms should not happen. > > Sergey Shelukhin wrote: > As far as I see, the jira doesn't do normalization, just verification. On trunk the issue still happens > > Ashutosh Chauhan wrote: > So will it result in incorrect result or exception? If this is exception, I will suggest to have config on by default. If it silently results in incorrect results, than off by default is better. incorrect result, as in the original bugs. Also, even verification doesn't cover all cases of adding partitions - Sergey ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16339/#review30694 ----------------------------------------------------------- On Dec. 19, 2013, 2:17 a.m., Sergey Shelukhin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/16339/ > ----------------------------------------------------------- > > (Updated Dec. 19, 2013, 2:17 a.m.) > > > Review request for hive and Ashutosh Chauhan. > > > Repository: hive-git > > > Description > ------- > > see JIRA > > > Diffs > ----- > > common/src/java/org/apache/hadoop/hive/conf/HiveConf.java fa3e048 > metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java a98d9d1 > metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java 04d399f > metastore/src/java/org/apache/hadoop/hive/metastore/parser/ExpressionTree.java 93e9942 > ql/src/test/queries/clientpositive/alter_partition_coltype.q 5479afb > ql/src/test/queries/clientpositive/annotate_stats_part.q 83510e3 > ql/src/test/queries/clientpositive/dynamic_partition_skip_default.q 397a220 > ql/src/test/results/clientpositive/alter_partition_coltype.q.out 27b1fbc > ql/src/test/results/clientpositive/annotate_stats_part.q.out 87fb980 > ql/src/test/results/clientpositive/dynamic_partition_skip_default.q.out baee525 > > Diff: https://reviews.apache.org/r/16339/diff/ > > > Testing > ------- > > > Thanks, > > Sergey Shelukhin > > --===============0708954305166389098==--