cloud-fan commented on code in PR #52428:
URL: https://github.com/apache/spark/pull/52428#discussion_r2382229164
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala:
##########
@@ -1228,3 +1229,21 @@ case class UnresolvedExecuteImmediate(
final override val nodePatterns: Seq[TreePattern] = Seq(EXECUTE_IMMEDIATE)
}
+
+case class UnresolvedEventTimeWatermark(
+ eventTimeColExpr: Expression,
+ delayInterval: Literal,
+ child: LogicalPlan)
+ extends UnresolvedUnaryNode {
+
+ final override val nodePatterns: Seq[TreePattern] =
Seq(UNRESOLVED_EVENT_TIME_WATERMARK)
+
+ private val delay = IntervalUtils.fromIntervalString(delayInterval.toString)
Review Comment:
can we do it in the parser? This logical plan should take `CalendarInterval`
directly.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]