asolimando commented on code in PR #3687: URL: https://github.com/apache/calcite/pull/3687#discussion_r1504745359
########## core/src/main/java/org/apache/calcite/adapter/enumerable/RexToLixTranslator.java: ########## @@ -1374,11 +1374,35 @@ private Result toInnerStorageType(Result result, Type storageType) { } final Type storageType = currentStorageType != null ? currentStorageType : typeFactory.getJavaClass(dynamicParam.getType()); - final Expression valueExpression = + + // For numeric types, get the value using the following functions on the Review Comment: Sorry I haven't been very precise, I didn't mean to cast Strings to numbers, what I had in mind was values from the string family to be used in parameters of the same family, possibly with (e.g., `varchar(2)` value for `varchar(3)` parameter), but I don't know if it is even expressible with the APIs we use to pass literals in, so feel free to leave this outside the scope of the present PR in case. -- 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: commits-unsubscr...@calcite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org