[ https://issues.apache.org/jira/browse/HIVE-4589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bing Li updated HIVE-4589: -------------------------- Status: Patch Available (was: Open) I added a new test case for this defect. In order to run the case (-Dtestcase=TestCliDriver -Dqfile=load_fs3.q), you should apply the patch for HIVE-4577 first. > Hive Load command failed when inpath contains space or any restricted > characters > -------------------------------------------------------------------------------- > > Key: HIVE-4589 > URL: https://issues.apache.org/jira/browse/HIVE-4589 > Project: Hive > Issue Type: Bug > Components: CLI > Affects Versions: 0.10.0, 0.9.0 > Reporter: Bing Li > Assignee: Bing Li > Attachments: HIVE-4589.patch > > > 0) create a simple text file with some string. See attached uk.cities > 1) Create a directory in Hadoop that contains a space in the name > hadoop fs -mkdir '/testdir/bri tain/' > hadoop fs -copyFromLocal /tmp/uk.cities '/testdir/bri > tain/uk.cities' > 2) create table partspace ( city string) partitioned by ( country string) row > format delimited FIELDS TERMINATED BY '$' stored as textfile; > 3) load data inpath '/testdir/bri tain/uk.cities' into table partspace > partition (country='britain'); > Then I got the message like, > Load failed with message "Wrong file format. Please check the file's format" -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira