abhishekagarwal87 commented on a change in pull request #12092:
URL: https://github.com/apache/druid/pull/12092#discussion_r777382324
##########
File path:
sql/src/main/java/org/apache/druid/sql/calcite/expression/Expressions.java
##########
@@ -242,6 +242,7 @@ private static DruidExpression rexCallToDruidExpression(
.lookupOperatorConversion(operator);
if (conversion == null) {
+ plannerContext.setPlanningError("SQL query requires '%s' operator that
is not supported.", operator.getName());
Review comment:
the absence of a corresponding operator seems like a genuine feature
gap. Also, I can populate a more precise error here than I can in the uppar
part of the call stack. Since a null can be returned for other reasons.
--
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]