docete commented on code in PR #24818: URL: https://github.com/apache/flink/pull/24818#discussion_r1621681290
########## flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/casting/RawToBinaryCastRule.java: ########## @@ -62,7 +62,7 @@ public boolean canFail(LogicalType inputLogicalType, LogicalType targetLogicalTy // new behavior isNull$290 = isNull$289; if (!isNull$290) { - byte[] deserializedByteArray$76 = result$289.toBytes(typeSerializer$292); + byte[] deserializedByteArray$76 = result$289.toBytes(typeSerializer$292.getInnerSerializer()); Review Comment: BTW, modify the code generator make things more complicated -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org