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 CCFFE182AD for ; Thu, 15 Oct 2015 21:09:18 +0000 (UTC) Received: (qmail 21971 invoked by uid 500); 15 Oct 2015 21:09:18 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 21883 invoked by uid 500); 15 Oct 2015 21:09:18 -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 21868 invoked by uid 99); 15 Oct 2015 21:09:17 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Oct 2015 21:09:17 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id F38E32A3893; Thu, 15 Oct 2015 21:09:15 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============5273196699956390014==" MIME-Version: 1.0 Subject: Re: Review Request 39026: HIVE-11676 implement metastore API to do file footer PPD From: "Alan Gates" To: "Alan Gates" , "Thejas Nair" , "Daniel Dai" Cc: "hive" , "Sergey Shelukhin" Date: Thu, 15 Oct 2015 21:09:15 -0000 Message-ID: <20151015210915.28635.69878@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Alan Gates" X-ReviewGroup: hive X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/39026/ X-Sender: "Alan Gates" References: <20151015014751.1509.73945@reviews.apache.org> In-Reply-To: <20151015014751.1509.73945@reviews.apache.org> Reply-To: "Alan Gates" X-ReviewRequest-Repository: hive-git --===============5273196699956390014== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/39026/#review102823 ----------------------------------------------------------- metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java (line 603) Some javadoc here would be good, as it is seriously non-obvious what you expect to be passed to some of these arguments. metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java (line 2385) Is doing the evaluation locally rather than in an HBase filter a for now thing or a forever thing? It seems like it would be much more efficient to do it in a filter. I believe Daniel and Thejas have already written code to handle translating Hive partition expressions into HBase filters. I'm not sure if you could re-use that here or not. - Alan Gates On Oct. 15, 2015, 1:47 a.m., Sergey Shelukhin wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/39026/ > ----------------------------------------------------------- > > (Updated Oct. 15, 2015, 1:47 a.m.) > > > Review request for hive, Daniel Dai, Alan Gates, and Thejas Nair. > > > Repository: hive-git > > > Description > ------- > > . > > > Diffs > ----- > > metastore/pom.xml 2ab5cd3 > metastore/src/gen/protobuf/gen-java/org/apache/hadoop/hive/metastore/Metastore.java PRE-CREATION > metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java ccb4c98 > metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java 136eff5 > metastore/src/java/org/apache/hadoop/hive/metastore/PartitionExpressionProxy.java 5195481 > metastore/src/java/org/apache/hadoop/hive/metastore/RawStore.java 1968256 > metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseReadWrite.java f69b4c7 > metastore/src/java/org/apache/hadoop/hive/metastore/hbase/HBaseStore.java df0fac3 > metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java 0f3331a > metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java 126a2c2 > metastore/src/test/org/apache/hadoop/hive/metastore/MockPartitionExpressionForMetastore.java bae1391 > metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java 78a9ea0 > metastore/src/test/org/apache/hadoop/hive/metastore/hbase/MockUtils.java 6c288f4 > ql/src/java/org/apache/hadoop/hive/ql/io/orc/FileMetaInfo.java 2853119 > ql/src/java/org/apache/hadoop/hive/ql/io/sarg/ConvertAstToSearchArg.java 690b8c9 > ql/src/java/org/apache/hadoop/hive/ql/optimizer/ppr/PartitionExpressionForMetastore.java 9ffa177 > > Diff: https://reviews.apache.org/r/39026/diff/ > > > Testing > ------- > > > Thanks, > > Sergey Shelukhin > > --===============5273196699956390014==--