Skip to content

Commit

Permalink
Rename windowing option (#15184) (#15194)
Browse files Browse the repository at this point in the history
Co-authored-by: Zoltan Haindrich <[email protected]>
  • Loading branch information
LakshSingla and kgyrtkirk authored Oct 18, 2023
1 parent 9f50055 commit 95fe4bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class PlannerContext
/**
* Undocumented context key, used to enable window functions.
*/
public static final String CTX_ENABLE_WINDOW_FNS = "windowsAreForClosers";
public static final String CTX_ENABLE_WINDOW_FNS = "enableWindowing";

public static final String CTX_SQL_USE_BOUNDS_AND_SELECTORS = "sqlUseBoundAndSelectors";
public static final boolean DEFAULT_SQL_USE_BOUNDS_AND_SELECTORS = NullHandling.replaceWithDefault();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,6 @@ public void windowQueryTest()
.skipVectorize(true)
.queryContext(ImmutableMap.of(
PlannerContext.CTX_ENABLE_WINDOW_FNS, true,
"windowsAllTheWayDown", true,
QueryContexts.ENABLE_DEBUG, true)
)
.sql(testCase.getQueryString())
Expand Down

0 comments on commit 95fe4bf

Please sign in to comment.