You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/01/03 10:00:23 UTC

[GitHub] [druid] abhishekagarwal87 commented on a change in pull request #12092: Fix SQL queries for inline datasource with null values

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: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org