Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
small-turtle-1 committed Jan 26, 2025
1 parent 73cf22f commit 8abf993
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/scheduler/fragment_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1100,10 +1100,10 @@ void FragmentContext::MakeSinkState(i64 parallel_count) {
break;
}
case PhysicalOperatorType::kLimit: {
if (fragment_type_ != FragmentType::kParallelStream) {
String error_message = fmt::format("{} should in parallel stream fragment", PhysicalOperatorToString(last_operator->operator_type()));
UnrecoverableError(error_message);
}
// if (fragment_type_ != FragmentType::kParallelStream) {
// String error_message = fmt::format("{} should in parallel stream fragment", PhysicalOperatorToString(last_operator->operator_type()));
// UnrecoverableError(error_message);
// }

if ((i64)tasks_.size() != parallel_count) {
String error_message = fmt::format("{} task count isn't correct.", PhysicalOperatorToString(last_operator->operator_type()));
Expand Down

0 comments on commit 8abf993

Please sign in to comment.