Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeW committed Jul 5, 2024
1 parent e2d392c commit 46d224b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/meta/src/rpc/ddl_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2001,6 +2001,11 @@ impl DdlController {
.generate_graph(&self.env, stream_job, expr_context)
.await?;

// general table job type does not have upstream job, so the dispatchers should be empty
if matches!(table_job_type, TableJobType::General) {
assert!(dispatchers.is_empty());
}

// 3. Build the table fragments structure that will be persisted in the stream manager, and
// the context that contains all information needed for building the actors on the compute
// nodes.
Expand Down

0 comments on commit 46d224b

Please sign in to comment.