hililiwei commented on a change in pull request #16650:
URL: https://github.com/apache/flink/pull/16650#discussion_r682456849
##########
File path:
flink-table/flink-table-planner/src/main/java/org/apache/flink/table/planner/functions/aggfunctions/LeadLagAggFunction.java
##########
@@ -230,6 +230,18 @@ public DataType getResultType() {
}
}
+ /** CharLeadLagAggFunction. */
+ public static class CharLeadLagAggFunction extends LeadLagAggFunction {
+ public CharLeadLagAggFunction(int operandCount) {
+ super(operandCount);
+ }
+
+ @Override
+ public DataType getResultType() {
+ return DataTypes.CHAR(operandCount());
Review comment:
thx. I've rewritten this code like the way handle DECIMAL type fields.
--
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]