jingz-db commented on code in PR #48124:
URL: https://github.com/apache/spark/pull/48124#discussion_r1859475047


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkStrategies.scala:
##########
@@ -966,6 +966,9 @@ abstract class SparkStrategies extends 
QueryPlanner[SparkPlan] {
       case _: FlatMapGroupsInPandasWithState =>
         // TODO(SPARK-40443): support applyInPandasWithState in batch query
         throw new SparkUnsupportedOperationException("_LEGACY_ERROR_TEMP_3176")
+      case _: TransformWithStateInPandas =>
+        // TODO(SPARK-50428): support TransformWithStateInPandas in batch query
+        throw new SparkUnsupportedOperationException("_LEGACY_ERROR_TEMP_3176")

Review Comment:
   Modified to reuse this error class used for `TransformWithState` previously: 
[https://github.com/apache/spark/commit/289543eba5bd07395282c28cb08934ec625a4935#diff-7c879c08d2f379c139d5229a888[…]69bb48f0a138a3d64e1b2dde3502feR46](https://github.com/apache/spark/commit/289543eba5bd07395282c28cb08934ec625a4935#diff-7c879c08d2f379c139d5229a88857229ae69bb48f0a138a3d64e1b2dde3502feR46)



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

Reply via email to