1
0

[HUDI-2931] Add config to disable table services (#4777)

This commit is contained in:
Raymond Xu
2022-02-15 06:49:53 -08:00
committed by GitHub
parent fe02c64fea
commit 538ec44fa8
12 changed files with 199 additions and 11 deletions

View File

@@ -24,10 +24,13 @@ import org.apache.hudi.common.table.timeline.HoodieTimeline;
* Supported runtime table services.
*/
public enum TableServiceType {
COMPACT, CLUSTER, CLEAN;
ARCHIVE, COMPACT, CLUSTER, CLEAN;
public String getAction() {
switch (this) {
case ARCHIVE:
// for table service type completeness; there is no timeline action associated with archive
return "NONE";
case COMPACT:
return HoodieTimeline.COMPACTION_ACTION;
case CLEAN: