ILuffZhe commented on code in PR #3558:
URL: https://github.com/apache/calcite/pull/3558#discussion_r1412898924


##########
core/src/main/java/org/apache/calcite/sql/SqlBinaryOperator.java:
##########
@@ -171,6 +177,22 @@ private RelDataType convertType(SqlValidator validator, 
SqlCall call, RelDataTyp
     return type;
   }
 
+  @Nullable Charset getCharsetAfterConvert(SqlBasicCall call, @Nullable 
Charset typeCharset) {

Review Comment:
   As far as I know, only CONVERT and TRANSLATE function explicitly use charset.
   In MySQL, CAST function can be used like `cast(name as CHAR CHARACTER SET 
utf8)`, but we don't support such form currently.



-- 
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]

Reply via email to