hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Gangam (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-15243) Inserting into a table partition fails if the table location has a '=' in the path.
Date Fri, 18 Nov 2016 15:28:58 GMT
Naveen Gangam created HIVE-15243:
------------------------------------

             Summary: Inserting into a table partition fails if the table location has a '='
in the path.
                 Key: HIVE-15243
                 URL: https://issues.apache.org/jira/browse/HIVE-15243
             Project: Hive
          Issue Type: Bug
          Components: Hive
    Affects Versions: 2.0.0
            Reporter: Naveen Gangam
            Assignee: Naveen Gangam


1) Create a table based on a location with '=' in it:
create table single_partition (name string)
partitioned by (Y string)
Location
'/user/hive/warehouse/single_partition/x=test';

2) insert some data into it (works fine):
INSERT INTO TABLE single_partition PARTITION (y='YPartition') VALUES ('myname');

3) set dynamic partitioning:
set hive.exec.dynamic.partition.mode=nonstrict;

4) try to read data from in and insert it back:
insert into table single_partition partition(Y)
select * from single_partition; 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message