bogao007 commented on code in PR #47133:
URL: https://github.com/apache/spark/pull/47133#discussion_r1714251252
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/pythonLogicalOperators.scala:
##########
@@ -161,6 +161,41 @@ case class FlatMapGroupsInPandasWithState(
newChild: LogicalPlan): FlatMapGroupsInPandasWithState = copy(child =
newChild)
}
+object TransformWithStateInPandas {
Review Comment:
yeah removed it since it's redundant, thanks for catching this!
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/pythonLogicalOperators.scala:
##########
@@ -161,6 +161,41 @@ case class FlatMapGroupsInPandasWithState(
newChild: LogicalPlan): FlatMapGroupsInPandasWithState = copy(child =
newChild)
}
+object TransformWithStateInPandas {
+ def apply(functionExpr: Expression,
+ groupingAttributes: Seq[Attribute],
+ outputAttrs: Seq[Attribute],
+ outputMode: OutputMode,
+ timeMode: TimeMode,
+ child: LogicalPlan): TransformWithStateInPandas = {
+
+ new TransformWithStateInPandas(
+ functionExpr,
+ groupingAttributes,
+ outputAttrs,
+ outputMode,
+ timeMode,
+ child = child
+ )
+ }
+}
+
+case class TransformWithStateInPandas(
Review Comment:
done
--
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]