hililiwei commented on a change in pull request #16650:
URL: https://github.com/apache/flink/pull/16650#discussion_r681753079



##########
File path: 
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/plan/utils/AggFunctionFactory.scala
##########
@@ -366,7 +366,7 @@ class AggFunctionFactory(
         new LeadLagAggFunction.DoubleLeadLagAggFunction(argTypes.length)
       case BOOLEAN =>
         new LeadLagAggFunction.BooleanLeadLagAggFunction(argTypes.length)
-      case VARCHAR =>
+      case VARCHAR | CHAR =>
         new LeadLagAggFunction.StringLeadLagAggFunction(argTypes.length)

Review comment:
       Thank you very much. I really didn't know the details of printSchema 
before.I added a Funciton to handle Char type, which will return a fixed-length 
Char.Please review it. Thanks again.




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