wuchong commented on a change in pull request #9208:
[FLINK-13378][table-planner-blink] Fix bug: Blink-planner not support
SingleValueAggFunction
URL: https://github.com/apache/flink/pull/9208#discussion_r306745490
##########
File path:
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/planner/expressions/call.scala
##########
@@ -221,3 +221,21 @@ case class PlannerTableFunctionCall(
override def toString =
s"${tableFunction.getClass.getCanonicalName}(${parameters.mkString(", ")})"
}
+
+case class ThrowException(msg: PlannerExpression, tp: TypeInformation[_])
extends UnaryExpression {
+
+ override private[flink] def resultType = tp
+
+ override private[flink] def child = msg
Review comment:
nit: declare return types explicitly `child: PlannerExpression`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services