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 4F26717D2B for ; Wed, 15 Apr 2015 15:43:59 +0000 (UTC) Received: (qmail 5020 invoked by uid 500); 15 Apr 2015 15:43:59 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 4810 invoked by uid 500); 15 Apr 2015 15:43:59 -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 4775 invoked by uid 99); 15 Apr 2015 15:43:59 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2015 15:43:59 +0000 Date: Wed, 15 Apr 2015 15:43:58 +0000 (UTC) From: "Sushanth Sowmyan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-5672) Insert with custom separator not supported for non-local directory 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-5672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496403#comment-14496403 ] Sushanth Sowmyan commented on HIVE-5672: ---------------------------------------- Adding additional doc note here : https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Writingdataintothefilesystemfromqueries needs to be updated to note that delimiters are not currently supported for non-LOCAL writes, and once this patch goes in, we should note which version fixed that in that doc. > Insert with custom separator not supported for non-local directory > ------------------------------------------------------------------ > > Key: HIVE-5672 > URL: https://issues.apache.org/jira/browse/HIVE-5672 > Project: Hive > Issue Type: Bug > Affects Versions: 0.12.0, 1.0.0 > Reporter: Romain Rigaux > Assignee: Nemon Lou > Attachments: HIVE-5672.1.patch, HIVE-5672.2.patch > > > https://issues.apache.org/jira/browse/HIVE-3682 is great but non local directory don't seem to be supported: > {code} > insert overwrite directory '/tmp/test-02' > row format delimited > FIELDS TERMINATED BY ':' > select description FROM sample_07 > {code} > {code} > Error while compiling statement: FAILED: ParseException line 2:0 cannot recognize input near 'row' 'format' 'delimited' in select clause > {code} > This works (with 'local'): > {code} > insert overwrite local directory '/tmp/test-02' > row format delimited > FIELDS TERMINATED BY ':' > select code, description FROM sample_07 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)