clintropolis commented on code in PR #12968:
URL: https://github.com/apache/druid/pull/12968#discussion_r955544274


##########
sql/src/main/java/org/apache/druid/sql/calcite/planner/DruidOperatorTable.java:
##########
@@ -304,8 +304,10 @@ public class DruidOperatorTable implements SqlOperatorTable
                    .add(new 
NestedDataOperatorConversions.JsonKeysOperatorConversion())
                    .add(new 
NestedDataOperatorConversions.JsonPathsOperatorConversion())
                    .add(new 
NestedDataOperatorConversions.JsonQueryOperatorConversion())
-                   .add(new 
NestedDataOperatorConversions.JsonValueOperatorConversion())
                    .add(new 
NestedDataOperatorConversions.JsonValueAnyOperatorConversion())
+                   .add(new 
NestedDataOperatorConversions.JsonValueBigintOperatorConversion())
+                   .add(new 
NestedDataOperatorConversions.JsonValueDoubleOperatorConversion())
+                   .add(new 
NestedDataOperatorConversions.JsonValueStringOperatorConversion())

Review Comment:
   I couldn't figure out a way to make it work, but it feels like something 
that should be possible....
   
   ```
   org.apache.druid.sql.calcite.planner.UnsupportedSQLQueryException: Cannot 
build plan for query. Possible error: SQL query requires 'JSON_VALUE_DOUBLE' 
operator that is not supported.
   ```
    is what happens if i remove them for a query using `JSON_VALUE`



-- 
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]

Reply via email to