NobiGo commented on code in PR #4227:
URL: https://github.com/apache/calcite/pull/4227#discussion_r1984499893


##########
druid/src/main/java/org/apache/calcite/adapter/druid/DruidQuery.java:
##########
@@ -120,6 +120,12 @@ public class DruidQuery extends AbstractRelNode implements 
BindableRel {
           .add(new DirectOperatorConversion(SqlStdOperatorTable.SIN, "sin"))
           .add(new DirectOperatorConversion(SqlStdOperatorTable.COS, "cos"))
           .add(new DirectOperatorConversion(SqlStdOperatorTable.TAN, "tan"))
+          .add(new DirectOperatorConversion(SqlStdOperatorTable.COT, "cot"))
+          .add(new DirectOperatorConversion(SqlStdOperatorTable.ASIN, "asin"))
+          .add(new DirectOperatorConversion(SqlStdOperatorTable.ACOS, "acos"))
+          .add(new DirectOperatorConversion(SqlStdOperatorTable.ATAN, "atan"))
+          .add(new DirectOperatorConversion(SqlStdOperatorTable.ATAN2, 
"atan2"))
+          .add(new DirectOperatorConversion(SqlStdOperatorTable.DEGREES, 
"degrees"))

Review Comment:
   The test cases have not covered the degrees function.



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

Reply via email to