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 17EE518FD9 for ; Wed, 21 Oct 2015 07:24:28 +0000 (UTC) Received: (qmail 33087 invoked by uid 500); 21 Oct 2015 07:24:28 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 33060 invoked by uid 500); 21 Oct 2015 07:24:27 -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 33038 invoked by uid 99); 21 Oct 2015 07:24:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Oct 2015 07:24:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B97A52C1F6A for ; Wed, 21 Oct 2015 07:24:27 +0000 (UTC) Date: Wed, 21 Oct 2015 07:24:27 +0000 (UTC) From: "Feng Yuan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-11840) when multi insert the inputformat becomes OneNullRowInputFormat 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-11840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Feng Yuan updated HIVE-11840: ----------------------------- Affects Version/s: 1.2.1 > when multi insert the inputformat becomes OneNullRowInputFormat > --------------------------------------------------------------- > > Key: HIVE-11840 > URL: https://issues.apache.org/jira/browse/HIVE-11840 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 0.14.0, 1.2.1 > Reporter: Feng Yuan > Priority: Blocker > Fix For: 0.14.1 > > Attachments: multi insert, single__insert > > > example: > from portrait.rec_feature_feedback a > insert overwrite table portrait.test1 select iid, feedback_15day, feedback_7day, feedback_5day, feedback_3day, feedback_1day where l_date = '2015-09-09' and bid in ('949722CF_12F7_523A_EE21_E3D591B7E755') > insert overwrite table portrait.test2 select iid, feedback_15day, feedback_7day, feedback_5day, feedback_3day, feedback_1day where l_date = '2015-09-09' and bid in ('test') > insert overwrite table portrait.test3 select iid, feedback_15day, feedback_7day, feedback_5day, feedback_3day, feedback_1day where l_date = '2015-09-09' and bid in ('F7734668_CC49_8C4F_24C5_EA8B6728E394') > when single insert it works.but multi insert when i select * from test1: > NULL NULL NULL NULL NULL NULL. > i see "explain extended" > Path -> Alias: > -mr-10006portrait.rec_feature_feedback{l_date=2015-09-09, cid=Cyiyaowang, bid=F7734668_CC49_8C4F_24C5_EA8B6728E394} [a] > -mr-10007portrait.rec_feature_feedback{l_date=2015-09-09, cid=Czgc_pc, bid=949722CF_12F7_523A_EE21_E3D591B7E755} [a] > Path -> Partition: > -mr-10006portrait.rec_feature_feedback{l_date=2015-09-09, cid=Cyiyaowang, bid=F7734668_CC49_8C4F_24C5_EA8B6728E394} > Partition > base file name: bid=F7734668_CC49_8C4F_24C5_EA8B6728E394 > input format: org.apache.hadoop.hive.ql.io.OneNullRowInputFormat > output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat > partition values: > bid F7734668_CC49_8C4F_24C5_EA8B6728E394 > cid Cyiyaowang > l_date 2015-09-09 > but when single insert: > Path -> Alias: > hdfs://bfdhadoopcool/warehouse/portrait.db/rec_feature_feedback/l_date=2015-09-09/cid=Czgc_pc/bid=949722CF_12F7_523A_EE21_E3D591B7E755 [a] > Path -> Partition: > hdfs://bfdhadoopcool/warehouse/portrait.db/rec_feature_feedback/l_date=2015-09-09/cid=Czgc_pc/bid=949722CF_12F7_523A_EE21_E3D591B7E755 > Partition > base file name: bid=949722CF_12F7_523A_EE21_E3D591B7E755 > input format: org.apache.hadoop.mapred.TextInputFormat > output format: org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat > partition values: > bid 949722CF_12F7_523A_EE21_E3D591B7E755 > cid Czgc_pc > l_date 2015-09-09 -- This message was sent by Atlassian JIRA (v6.3.4#6332)