Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 57852 invoked from network); 23 Mar 2010 22:54:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Mar 2010 22:54:50 -0000 Received: (qmail 41994 invoked by uid 500); 23 Mar 2010 22:54:50 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 41974 invoked by uid 500); 23 Mar 2010 22:54:50 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 41966 invoked by uid 99); 23 Mar 2010 22:54:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 22:54:50 +0000 X-ASF-Spam-Status: No, hits=-1112.5 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Mar 2010 22:54:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 11E9E234C4AE for ; Tue, 23 Mar 2010 22:54:29 +0000 (UTC) Message-ID: <1339236258.445631269384869072.JavaMail.jira@brutus.apache.org> Date: Tue, 23 Mar 2010 22:54:29 +0000 (UTC) From: "Zheng Shao (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Created: (HIVE-1272) Add SymlinkTextInputFormat to Hive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Add SymlinkTextInputFormat to Hive ---------------------------------- Key: HIVE-1272 URL: https://issues.apache.org/jira/browse/HIVE-1272 Project: Hadoop Hive Issue Type: New Feature Affects Versions: 0.5.0 Reporter: Zheng Shao We'd like to add a symlink text input format so that we can specify the list of files for a table/partition based on the content of a text file. For example, the location of the table is "/user/hive/mytable". There is a file called "/user/hive/mytable/myfile.txt". Inside the file, there are 2 lines, "/user/myname/textfile1.txt" and "/user/myname/textfile2.txt" We can do: {code} CREATE TABLE mytable (...) STORED AS INPUTFORMAT 'org.apache.hadoop.hive.io.SymlinkTextInputFormat' LOCATION '/user/hive/mytable'; SELECT * FROM mytable; {code} which will return the content of the 2 files: "/user/myname/textfile1.txt" and "/user/myname/textfile2.txt" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.