hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <>
Subject [jira] [Commented] (HIVE-6048) Hive load data command rejects file with '+' in the name
Date Thu, 19 Dec 2013 04:29:07 GMT


Xuefu Zhang commented on HIVE-6048:

[~ashutoshc] I agree with you about the need for HIVE-6024. However, I thinking solving that
problem doesn't necessary address the problem described here, as the same issue also occurs
with non-local files.

hive> dfs -ls /tmp/files/t+est.txt;      
Found 1 items
-rw-r--r--   1 xzhang supergroup          9 2013-12-18 20:20 /tmp/files/t+est.txt
hive> load data inpath '/tmp/files/t+est.txt' into table test;
Loading data to table default.test
Failed with exception Wrong file format. Please check the file's format.
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.MoveTask

Therefore, it might make sense to solve them separately.

> Hive load data command rejects file with '+' in the name
> --------------------------------------------------------
>                 Key: HIVE-6048
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.12.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>         Attachments: 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 './t+est' into table test;
> FAILED: SemanticException Line 1:23 Invalid path ''./t+est'': No files matching path
> {code}

This message was sent by Atlassian JIRA

View raw message