This is an automated email from the ASF dual-hosted git repository.
lakshsingla pushed a commit to branch 28.0.0
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/28.0.0 by this push:
new 95fe4bfc741 Rename windowing option (#15184) (#15194)
95fe4bfc741 is described below
commit 95fe4bfc7417c7ec1376f6ba00d795e39a324ebe
Author: Laksh Singla <[email protected]>
AuthorDate: Wed Oct 18 16:37:37 2023 +0530
Rename windowing option (#15184) (#15194)
Co-authored-by: Zoltan Haindrich <[email protected]>
---
.../main/java/org/apache/druid/sql/calcite/planner/PlannerContext.java | 2 +-
.../test/java/org/apache/druid/sql/calcite/DrillWindowQueryTest.java | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git
a/sql/src/main/java/org/apache/druid/sql/calcite/planner/PlannerContext.java
b/sql/src/main/java/org/apache/druid/sql/calcite/planner/PlannerContext.java
index 9141c4db090..29f22d46c57 100644
--- a/sql/src/main/java/org/apache/druid/sql/calcite/planner/PlannerContext.java
+++ b/sql/src/main/java/org/apache/druid/sql/calcite/planner/PlannerContext.java
@@ -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();
diff --git
a/sql/src/test/java/org/apache/druid/sql/calcite/DrillWindowQueryTest.java
b/sql/src/test/java/org/apache/druid/sql/calcite/DrillWindowQueryTest.java
index 8097377d09c..7dbf428d583 100644
--- a/sql/src/test/java/org/apache/druid/sql/calcite/DrillWindowQueryTest.java
+++ b/sql/src/test/java/org/apache/druid/sql/calcite/DrillWindowQueryTest.java
@@ -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())
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]