olivrlee commented on code in PR #3069:
URL: https://github.com/apache/calcite/pull/3069#discussion_r1107929550
##########
core/src/main/java/org/apache/calcite/sql/SqlCallBinding.java:
##########
@@ -398,10 +398,13 @@ public SqlCall permutedCall() {
* @return signature exception
*/
public CalciteException newValidationSignatureError() {
+ // String type =
validator.getCatalogReader().getNamedType(call.getOperator()
+ // .getNameAsId()).getSqlTypeName().getName();
return validator.newValidationError(call,
RESOURCE.canNotApplyOp2Type(getOperator().getName(),
call.getCallSignature(validator, scope),
- getOperator().getAllowedSignatures()));
+ // getOperator().getAllowedSignatures()));
+ getOperator().getAllowedSignaturesUsingValidator(validator)));
Review Comment:
the idea is that this function will pass through validator which we'll use
to check for all types if they have aliases `newValidationSignatureError`
--
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]