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 003A27207 for ; Sat, 16 Jul 2011 19:28:23 +0000 (UTC) Received: (qmail 2982 invoked by uid 500); 16 Jul 2011 19:28:22 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 2932 invoked by uid 500); 16 Jul 2011 19:28:22 -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 2924 invoked by uid 500); 16 Jul 2011 19:28:22 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 2921 invoked by uid 99); 16 Jul 2011 19:28:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jul 2011 19:28:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jul 2011 19:28:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8123F82A57 for ; Sat, 16 Jul 2011 19:28:00 +0000 (UTC) Date: Sat, 16 Jul 2011 19:28:00 +0000 (UTC) From: "Hudson (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: <1454136685.20268.1310844480525.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1036664193.2123.1309905856762.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HIVE-2260) ExecDriver::addInputPaths should pass the table properties to the record writer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066511#comment-13066511 ] Hudson commented on HIVE-2260: ------------------------------ Integrated in Hive-trunk-h0.21 #830 (See [https://builds.apache.org/job/Hive-trunk-h0.21/830/]) HIVE-2260. ExecDriver::addInputPaths should pass the table properties to the record writer (Jakob Homan via Ning Zhang) nzhang : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1147436 Files : * /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecDriver.java > ExecDriver::addInputPaths should pass the table properties to the record writer > ------------------------------------------------------------------------------- > > Key: HIVE-2260 > URL: https://issues.apache.org/jira/browse/HIVE-2260 > Project: Hive > Issue Type: Bug > Affects Versions: 0.7.0 > Reporter: Jakob Homan > Assignee: Jakob Homan > Fix For: 0.8.0 > > Attachments: HIVE-2260.patch > > > Currently when ExecDriver encounters a non-existent partition, it creates an empty file so that the query will be valid (and return 0 results). However, when it does this and calls {{getHiveRecordWriter()}}, it creates a new instance of Properties, rather than providing the Properties associated with the table. > This causes RecordWriters that pull information from the table through the Properties to fail (such as [Haivvreo|http://bit.ly/iwEQzJ]). The RecordWriter should be provided the table's Properties, as it is in all other cases where it's called. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira