You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Y Ethan Guo (Jira)" <ji...@apache.org> on 2025/03/04 18:15:00 UTC
[jira] [Updated] (HUDI-8627) Refactor checkpoint translation APIs
[ https://issues.apache.org/jira/browse/HUDI-8627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Y Ethan Guo updated HUDI-8627:
------------------------------
Parent Issue: HUDI-9105 (was: HUDI-8709)
> Refactor checkpoint translation APIs
> ------------------------------------
>
> Key: HUDI-8627
> URL: https://issues.apache.org/jira/browse/HUDI-8627
> Project: Apache Hudi
> Issue Type: Sub-task
> Reporter: Sagar Sumit
> Priority: Critical
> Fix For: 1.0.2
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> # Do we really need completely different relations based on checkpoint version.. I feel just passing in the checkpoint version to use is sufficient.. I worry there are too many V1, V2 classes to maintain here. [https://github.com/apache/hudi/pull/12342#discussion_r1864665107]
> # Can we introduce a factory.. {{Checkpoint.create(..)}} that will create the current/latest by default.. then we avoid use of version specific {{CheckpointV2}} and CheckpointV1` classes in regular code.. There should be a few places where we will handle CheckpointV1 and thats it.
> #
> use {{HoodieTableVersion instead of int writeTableVersion - [https://github.com/apache/hudi/pull/12342#discussion_r1864669100]}}
> {{4. Code duplication - https://github.com/apache/hudi/pull/12342#discussion_r1864668618}}
> {{{}{}}}{{{}{}}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)