Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # dev - Review Request 16727: Review Board for HIVE-5446 Hive can CREATE an external table but not SELECT from it when file path have spaces


Copy link to this message
-
Re: Review Request 16727: Review Board for HIVE-5446 Hive can CREATE an external table but not SELECT from it when file path have spaces
Xuefu Zhang 2014-01-09, 22:26

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/16727/#review31470
-----------------------------------------------------------

ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java
<https://reviews.apache.org/r/16727/#comment59966>

    Patch looks good. If I'd be picky, I would expect that more information is given instead of throwing an exception that just wraps another exception. What about throw new RuntimeException("Invalid table/partition path " + locaction, e);
- Xuefu Zhang
On Jan. 9, 2014, 9:46 p.m., Shuaishuai Nie wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/16727/
> -----------------------------------------------------------
>
> (Updated Jan. 9, 2014, 9:46 p.m.)
>
>
> Review request for hive, Thejas Nair and Xuefu Zhang.
>
>
> Bugs: HIVE-5446
>     https://issues.apache.org/jira/browse/HIVE-5446
>
>
> Repository: hive-git
>
>
> Description
> -------
>
> Hive cannot select from external table with location has "+" or space in the path
>
>
> Diffs
> -----
>
>   data/files/ext_test_space/folder+with PRE-CREATION
>   itests/qtest/pom.xml 119ddb5
>   ql/src/java/org/apache/hadoop/hive/ql/metadata/Partition.java 0fe260d
>   ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java 877d342
>   ql/src/test/queries/clientpositive/external_table_with_space_in_location_path.q PRE-CREATION
>   ql/src/test/results/clientpositive/external_table_with_space_in_location_path.q.out PRE-CREATION
>
> Diff: https://reviews.apache.org/r/16727/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Shuaishuai Nie
>
>