Vikram Ahuja created HIVE-29089:
-----------------------------------

             Summary: MSCK Repair table adding string values for non string 
partitioned columns
                 Key: HIVE-29089
                 URL: https://issues.apache.org/jira/browse/HIVE-29089
             Project: Hive
          Issue Type: Bug
            Reporter: Vikram Ahuja
            Assignee: Vikram Ahuja


Steps to repro:

create table default_partition_name_1 (key int, value string) partitioned by 
(ds int);

hdfs dfs -mkdir 
/viahuja/customlocation/default_partition_name_1/ds=random_string;

msck repair table default_partition_name_1;

show partitions default_partition_name_1;

 

Result returned by show partitions:
0: jdbc:hive2://localhost:10000> show partitions default_partition_name_1;
+------------+
| partition  |
+------------+
| ds=random_string  |
+------------+



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to