wuchong commented on code in PR #19851: URL: https://github.com/apache/flink/pull/19851#discussion_r899829796
########## flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/codegen/calls/ScalarOperatorGens.scala: ########## @@ -313,6 +313,7 @@ object ScalarOperatorGens { def generateUnaryIntervalPlusMinus( ctx: CodeGeneratorContext, plus: Boolean, + resultType: LogicalType, operand: GeneratedExpression): GeneratedExpression = { val operator = if (plus) "+" else "-" generateUnaryArithmeticOperator(ctx, operator, operand.resultType, operand) Review Comment: Use the `resultType` parameter? -- 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