abhioncbr commented on code in PR #11048:
URL: https://github.com/apache/pinot/pull/11048#discussion_r1256666209
##########
pinot-query-planner/src/main/java/org/apache/calcite/sql/fun/PinotOperatorTable.java:
##########
@@ -248,4 +316,16 @@ private boolean isPinotAggregationFunction(String name) {
}
return aggFunctionType != null &&
!aggFunctionType.isNativeCalciteAggregationFunctionType();
}
+
+ private boolean isPinotTransformFunction(String name) {
+ TransformFunctionType transformFunctionType = null;
+ if (isTransformFunctionRegisteredWithOperatorTable(name)) {
+ try {
+ transformFunctionType = TransformFunctionType.valueOf(name);
+ } catch (IllegalArgumentException e) {
+ // Ignore
Review Comment:
Any particular reason for ignoring this exception?
--
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]