danny0405 commented on a change in pull request #1405: [CALCITE-2772] Support
varargs UDF for scalar function
URL: https://github.com/apache/calcite/pull/1405#discussion_r317864854
##########
File path: core/src/main/java/org/apache/calcite/sql/SqlFunction.java
##########
@@ -249,9 +262,9 @@ private RelDataType deriveType(
if (convertRowArgToColumnList && containsRowArg(args)) {
if (function == null
&& SqlUtil.matchRoutinesByParameterCount(
- validator.getOperatorTable(), getNameAsId(), argTypes,
- getFunctionType(),
- validator.getCatalogReader().nameMatcher())) {
+ validator.getOperatorTable(), getNameAsId(), argTypes,
+ getFunctionType(),
Review comment:
Revert the indent 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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services