mihaibudiu commented on code in PR #4501:
URL: https://github.com/apache/calcite/pull/4501#discussion_r2324222845
##########
core/src/main/java/org/apache/calcite/sql/type/FunctionSqlType.java:
##########
@@ -58,6 +68,20 @@ public FunctionSqlType(
return this;
}
+ /**
+ * Returns the parameter type of the function.
+ *
+ * @return a struct wrapping function's parameter types.
+ */
+ public RelDataType getParameterType() {
Review Comment:
nothing prevents us from changing the constructor parameter name and the
field name - they are private to this class. I think anything that makes it
less likely for users to make mistakes is a good change.
--
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]