twalthr commented on code in PR #19543:
URL: https://github.com/apache/flink/pull/19543#discussion_r857365655
##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/ExprCodeGenerator.scala:
##########
@@ -351,6 +351,15 @@ class ExprCodeGenerator(ctx: CodeGeneratorContext,
nullableInput: Boolean)
}
override def visitInputRef(inputRef: RexInputRef): GeneratedExpression = {
+ // for specific custom code generation
+ if (input1Type == null) {
Review Comment:
This is a bit hacky but safe enough. The code generator is very generic with
a couple of corner cases for various purposes.
--
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]