Skip to content

Commit

Permalink
Rename windowing option
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Oct 17, 2023
1 parent 0a27a7a commit bc792f6
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 bc792f6

Please sign in to comment.