Skip to content

Commit

Permalink
Internal duckdb#2534: IGNORE NULLS Threading
Browse files Browse the repository at this point in the history
PR Feedback: optional_ptr
  • Loading branch information
Richard Wesley committed Jul 18, 2024
1 parent 68b0ca3 commit 4c7ff9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/execution/window_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1458,7 +1458,7 @@ class WindowValueGlobalState : public WindowExecutorGlobalState {
// Mask to use for exclusion if we are not ignoring NULLs
ValidityMask no_nulls;
// IGNORE NULLS
ValidityMask *ignore_nulls;
optional_ptr<ValidityMask> ignore_nulls;
};

//===--------------------------------------------------------------------===//
Expand All @@ -1482,7 +1482,7 @@ class WindowValueLocalState : public WindowExecutorBoundsState {
//! The exclusion filter handler
unique_ptr<ExclusionFilter> exclusion_filter;
//! The validity mask that combines both the NULLs and exclusion information
const ValidityMask *ignore_nulls_exclude;
optional_ptr<ValidityMask> ignore_nulls_exclude;
};

void WindowValueLocalState::Initialize() {
Expand Down

0 comments on commit 4c7ff9f

Please sign in to comment.