apache / apache/hudi

Add rename partition for spark sql

Open
#14,950 0 comments 0 reactions 0 assignees View on GitHub
area:sql from-jira priority:high type:feature
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

– RENAME partition
||{{partition}}||
|{{age=10}}|
|{{age=11}}|
|{{age=12}}|

 {{ALTER TABLE default.StudentInfo PARTITION (age='10') RENAME TO PARTITION (age='15');}}
||{{partition}}||
|{{age=11}}|
|{{age=12}}|
|{{age=15}}|

 

 

 

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-2991
- Type: New Feature

Contributor guide

No contributing guide indexed for this repository

Research direction

Start from the Spark SQL ALTER TABLE ... RENAME TO PARTITION command shown in the issue and review the Hudi-2991 requirements. Done means renaming the age='10' partition to age='15' while preserving the age='11' and age='12' partitions, with coverage for the demonstrated result.

Written by the indexing model from the issue text.

Assessment

Tech stack
spark
Domain
data-engineering, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.