FrankChen021 commented on code in PR #20722:
URL: https://github.com/apache/druid/pull/20722#discussion_r4373405771
##########
sql/src/test/java/org/apache/druid/sql/calcite/expression/ExpressionTestHelper.java:
##########
@@ -119,6 +119,17 @@ NamedViewSchema.NAME, new
NamedViewSchema(EasyMock.createMock(ViewSchema.class))
null
);
+ public static final PlannerContext PLANNER_CONTEXT_WITH_EXTRACTION_FNS =
PlannerContext.create(
+ PLANNER_TOOLBOX,
+ "SELECT 1", // The actual query isn't important for this test
+ null, /* Don't need SQL node */
+ null, /* Don't need engine */
+ null, /* Don't need authentication result */
+ Collections.emptySet(),
+ Collections.singletonMap(PlannerContext.CTX_SQL_USE_EXTRACTION_FNS,
true),
Review Comment:
CTX_SQL_USE_EXTRACTION_FNS is deprecated
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]