Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
4.0.0
-
None
Description
Create a table with 2 partitions where both partitions share the same location and inserting a single line to one of them.
create table test (i int) partitioned by (j int); alter table test add partition (j=1); alter table test add partition (j=2) location '<<location of partition j=1>>'; insert into table test partition (j=1) values (1);
Make sure hive.fetch.task.conversion=more.
set hive.fetch.task.conversion=more;
The result of a simple select * test:
----------------+
test.i | test.j |
----------------+
1 | 1 |
1 | 2 |
----------------+
Change the hive.fetch.task.conversion=none;
set hive.fetch.task.conversion=none;
The result of a simple select * test:
----------------+
test.i | test.j |
----------------+
1 | 2 |
----------------+