[
https://issues.apache.org/jira/browse/HIVE-29089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18012129#comment-18012129
]
Denys Kuzmenko commented on HIVE-29089:
---------------------------------------
Merged to master
Thanks for the fix, [~vikramahuja_] and [~Aggarwal_Raghav] for the review!
> MSCK Repair table adding invalid partitions for non string partitions columns
> -----------------------------------------------------------------------------
>
> Key: HIVE-29089
> URL: https://issues.apache.org/jira/browse/HIVE-29089
> Project: Hive
> Issue Type: Bug
> Reporter: Vikram Ahuja
> Assignee: Vikram Ahuja
> Priority: Major
> Labels: pull-request-available
>
> 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)