Skip to content

Commit

Permalink
GetStreamingJob
Browse files Browse the repository at this point in the history
  • Loading branch information
CAJan93 committed Jul 15, 2024
1 parent c7ff25f commit f0bddd6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
4 changes: 4 additions & 0 deletions proto/catalog.proto
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,10 @@ message Table {
// empty/null node_labels map.
// A node with an empty/null node_labels map can only host streaming jobs with an empty node_labels map.
optional map<string, string> node_labels = 101;

// If this is a materialized view: True if backfill is done, else false.
// If this is a regular table: Always true.
bool backfill_done = 102;
}

Check failure on line 427 in proto/catalog.proto

View workflow job for this annotation

GitHub Actions / Check breaking changes in Protobuf files

syntax error: unexpected '<'

enum HandleConflictBehavior {
Expand Down
20 changes: 3 additions & 17 deletions proto/meta.proto
Original file line number Diff line number Diff line change
Expand Up @@ -485,20 +485,6 @@ service NotificationService {
rpc Subscribe(SubscribeRequest) returns (stream SubscribeResponse);
}

message BackfillResponse {
// holds all materialized views which have completed their backfill operations
// contains IDs from catalog.Table.id
repeated uint32 materializedViewsBackfillCompleted = 1;
}

message BackfillRequest {
string requestId = 1; // UUID so meta can drop duplicate requests
}

service BackfillService {
rpc GetBackfill(BackfillRequest) returns (BackfillResponse);
}

message GetClusterInfoRequest {}

message GetClusterInfoResponse {
Expand Down Expand Up @@ -560,10 +546,10 @@ message UpdateStreamingJobRequest {
// We do not need to add an explicit status field here, we can just use the RPC status
message UpdateStreamingJobResponse {}

message ListStreamingJobsRequest {}
message GetStreamingJobsRequest {}

// returns descriptions of MVs and sinks
message ListStreamingJobResponse {
message GetStreamingJobResponse {
repeated catalog.Table materialized_views = 1;
repeated catalog.Sink sinks = 2;
}
Expand All @@ -572,7 +558,7 @@ service ScaleService {
rpc GetClusterInfo(GetClusterInfoRequest) returns (GetClusterInfoResponse);
rpc Reschedule(RescheduleRequest) returns (RescheduleResponse);
rpc UpdateStreamingJob(UpdateStreamingJobRequest) returns (UpdateStreamingJobResponse);
rpc ListStreamingJobs(ListStreamingJobsRequest) returns (ListStreamingJobResponse);
rpc GetStreamingJobs(GetStreamingJobsRequest) returns (GetStreamingJobResponse);
}

message MembersRequest {}
Expand Down

0 comments on commit f0bddd6

Please sign in to comment.