You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lefty Leverenz (JIRA)" <ji...@apache.org> on 2014/07/17 07:41:05 UTC

[jira] [Commented] (HIVE-6048) Hive load data command rejects file with '+' in the name

    [ https://issues.apache.org/jira/browse/HIVE-6048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14064595#comment-14064595 ] 

Lefty Leverenz commented on HIVE-6048:
--------------------------------------

This bug fix is now documented in the DML wikidoc in the "Notes" subsection of "Loading files into tables," as follows:

{quote}
A bug that prevented loading a file when its name includes the "+" character is fixed in release 0.13.0 (HIVE-6048).
{quote}

* [LanguageManual -- DML -- Loading files into tables | https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DML#LanguageManualDML-Loadingfilesintotables]

> Hive load data command rejects file with '+' in the name
> --------------------------------------------------------
>
>                 Key: HIVE-6048
>                 URL: https://issues.apache.org/jira/browse/HIVE-6048
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 0.13.0
>
>         Attachments: HIVE-6048.1.patch, HIVE-6048.2.patch, HIVE-6048.3.patch, HIVE-6048.4.patch, HIVE-6048.patch
>
>
> '+' is a valid character in a file name on linux and HDFS. However, loading data from such a file into table results the following error:
> {code}
> hive> load data local inpath '/home/xzhang/temp/t+est.txt' into table test;
> Copying data from file:/home/xzhang/temp/t est.txt
> No files matching path: file:/home/xzhang/temp/t est.txt
> FAILED: Execution Error, return code 3 from org.apache.hadoop.hive.ql.exec.CopyTask
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)