diff --git a/amoro-common/src/main/thrift/amoro_optimizing_service.thrift b/amoro-common/src/main/thrift/amoro_optimizing_service.thrift index 360ab6b6b9..69ebace93d 100644 --- a/amoro-common/src/main/thrift/amoro_optimizing_service.thrift +++ b/amoro-common/src/main/thrift/amoro_optimizing_service.thrift @@ -20,10 +20,16 @@ namespace java org.apache.amoro.api include "amoro_commons.thrift" +enum TaskType { + SYSTEM = 0, + OPTIMIZE = 1, +} + struct OptimizingTask { 1: OptimizingTaskId taskId; 2: optional binary taskInput; 3: optional map properties; + 4: optional TaskType type = 1; } struct OptimizingTaskId {