Rename windowing option (#15184)

This commit is contained in:
Zoltan Haindrich 2023-10-18 07:24:20 +02:00 committed by GitHub
parent 22034a1630
commit c58b7f40ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -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();

View File

@ -477,7 +477,6 @@ public class DrillWindowQueryTest extends BaseCalciteQueryTest
.skipVectorize(true)
.queryContext(ImmutableMap.of(
PlannerContext.CTX_ENABLE_WINDOW_FNS, true,
"windowsAllTheWayDown", true,
QueryContexts.ENABLE_DEBUG, true)
)
.sql(testCase.getQueryString())