Github user shaoxuan-wang commented on a diff in the pull request:
https://github.com/apache/flink/pull/3593#discussion_r107410733
--- Diff:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/functions/aggfunctions/MinAggFunctionWithRetract.scala
---
@@ -212,3 +212,11 @@ class DecimalMinWithRetractAggFunction extends
MinWithRetractAggFunction[BigDeci
override def getInitValue: BigDecimal = BigDecimal.ZERO
override def getValueTypeInfo = BasicTypeInfo.BIG_DEC_TYPE_INFO
}
+
+/**
+ * Built-in String Min with retraction aggregate function
+ */
+class StringMinWithRetractAggFunction extends
MinWithRetractAggFunction[String] {
+ override def getInitValue: String = ""
--- End diff --
remove ": String"?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---