Skip to content

Commit

Permalink
add control task
Browse files Browse the repository at this point in the history
  • Loading branch information
ihadoop committed Jan 12, 2025
1 parent 4961b2d commit ac9441e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions amoro-common/src/main/thrift/amoro_optimizing_service.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, string> properties;
4: optional TaskType type = 1;
}

struct OptimizingTaskId {
Expand Down

0 comments on commit ac9441e

Please sign in to comment.