[
https://issues.apache.org/jira/browse/HIVE-28757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098208#comment-18098208
]
Feng Liu edited comment on HIVE-28757 at 7/23/26 3:29 AM:
----------------------------------------------------------
The replacement master draft PR is now up:
https://github.com/apache/hive/pull/6631
It supersedes #6628, which GitHub closed automatically when the source branch
was renamed. The commit itself is unchanged. The PR is based on
apache/hive:master, with the head branch here:
https://github.com/myg821561935/hive-2.2/tree/hive-28757-partition-create-time
It covers both the single-partition and batch dynamic-partition load paths, and
adds the metastore-side guard for alterPartition/alterPartitions.
Local validation:
- TestHiveLoadPartitionKeepExisting: 5 tests passed
- TestAlterPartitions: 154 tests passed
- the related Maven reactor built successfully with JDK 21
For anyone who needs to backport this to 3.1.2, the clean branch was created
directly from Apache Hive's official rel/release-3.1.2 tag:
https://github.com/myg821561935/hive-2.2/tree/hive-28757-partition-create-time-3.1.2
The repository name hive-2.2 is only the name of my fork; it is not the source
baseline.
was (Author: feng liu):
The master draft PR is now up:
https://github.com/apache/hive/pull/6628
It covers both the single-partition and batch dynamic-partition load paths, and
adds the metastore-side guard for alterPartition/alterPartitions.
Local validation:
- TestHiveLoadPartitionKeepExisting: 5 tests passed
- TestAlterPartitions: 154 tests passed
- the related Maven reactor built successfully with JDK 21
For anyone who needs to backport this to 3.1.2, the clean branch based on the
official rel/release-3.1.2 source is here:
https://github.com/myg821561935/hive-2.2/tree/codex/hive-28757-partition-create-time-3.1.2
> The inserted dynamic partitions loss createTime
> -----------------------------------------------
>
> Key: HIVE-28757
> URL: https://issues.apache.org/jira/browse/HIVE-28757
> Project: Hive
> Issue Type: Bug
> Components: Metastore
> Affects Versions: 3.1.3
> Reporter: FangBO
> Priority: Minor
> Labels: pull-request-available
> Attachments: image.png
>
>
> The inserted dynamic partitions loss createTime。
>
> {code:java}
> // code placeholder
> create table p (id bigint) partitioned by (ds string);
> create table src (id bigint, ds string);
> insert into src values(1, '00');
> insert overwrite table p partition(ds) select id,ds from src;{code}
> After the operation, the inserted partition does not have createTime.
>
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)