Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6100818DE8 for ; Thu, 10 Dec 2015 03:57:11 +0000 (UTC) Received: (qmail 33521 invoked by uid 500); 10 Dec 2015 03:57:11 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 33497 invoked by uid 500); 10 Dec 2015 03:57:11 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 33483 invoked by uid 99); 10 Dec 2015 03:57:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Dec 2015 03:57:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0B0C82C1F57 for ; Thu, 10 Dec 2015 03:57:11 +0000 (UTC) Date: Thu, 10 Dec 2015 03:57:11 +0000 (UTC) From: "Brock Noland (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-12541) Using CombineHiveInputFormat with the origin inputformat SymbolicTextInputFormat ,it will get a wrong result 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-12541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049994#comment-15049994 ] Brock Noland commented on HIVE-12541: ------------------------------------- [~ctang.ma] [~ychena] [~aihuaxu] - do any of you have a chance to look at this? > Using CombineHiveInputFormat with the origin inputformat SymbolicTextInputFormat ,it will get a wrong result > -------------------------------------------------------------------------------------------------------------- > > Key: HIVE-12541 > URL: https://issues.apache.org/jira/browse/HIVE-12541 > Project: Hive > Issue Type: Bug > Affects Versions: 0.14.0, 1.2.0, 1.2.1 > Reporter: Xiaowei Wang > Assignee: Xiaowei Wang > Fix For: 1.2.1 > > Attachments: HIVE-12541.1.patch > > > Table desc : > {noformat} > CREATE External TABLE `symlink_text_input_format`( > `key` string, > `value` string) > ROW FORMAT SERDE > 'org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe' > STORED AS INPUTFORMAT > 'org.apache.hadoop.hive.ql.io.SymlinkTextInputFormat' > OUTPUTFORMAT > 'org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat' > LOCATION > 'viewfs://nsX/user/hive/warehouse/symlink_text_input_format' > {noformat} > There is a link file in the dir '/user/hive/warehouse/symlink_text_input_format' , the content of the link file is > {noformat} > viewfs://nsx/tmp/symlink* > {noformat} > it contains one path ,and the path contains a regex! > Execute the sql : > {noformat} > set hive.rework.mapredwork = true ; > set hive.input.format=org.apache.hadoop.hive.ql.io.CombineHiveInputFormat; > set mapred.min.split.size.per.rack= 0 ; > set mapred.min.split.size.per.node= 0 ; > set mapred.max.split.size= 0 ; > select count(*) from symlink_text_input_format ; > {noformat} > It will get wrong result :0 > At the same time ,I add a test case in the patch. -- This message was sent by Atlassian JIRA (v6.3.4#6332)