Skip to content

Commit

Permalink
Feature duckdb#1272: Window Parallel Sink
Browse files Browse the repository at this point in the history
Add unreachable return.
  • Loading branch information
Richard Wesley committed Jul 7, 2024
1 parent 24b1354 commit bf62747
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/execution/window_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ bool WindowDataChunk::IsSimple(const Vector &v) {
case PhysicalType::VARCHAR:
case PhysicalType::BIT:
return false;
case PhysicalType::UNKNOWN:
case PhysicalType::INVALID:
throw InternalException("Unsupported type for WindowDataChunk");
default:
break;
}

throw InternalException("Unsupported type for WindowDataChunk");
}

WindowDataChunk::WindowDataChunk(DataChunk &chunk) : chunk(chunk) {
Expand Down

0 comments on commit bf62747

Please sign in to comment.