Skip to content

Commit

Permalink
fix: add assertion to check stream executor schema consistency (#13288)
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Chien <[email protected]>
  • Loading branch information
stdrc authored Nov 15, 2023
1 parent a624936 commit 5e88323
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/stream/src/task/stream_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,12 @@ impl LocalStreamManagerCore {
"`pk_indices` of {} not consistent with what derived by optimizer",
executor.identity()
);
assert_eq!(
executor.schema(),
&schema,
"`schema` of {} not consistent with what derived by optimizer",
executor.identity()
);

// Wrap the executor for debug purpose.
let executor = WrapperExecutor::new(
Expand Down

0 comments on commit 5e88323

Please sign in to comment.