HeartSaVioR commented on code in PR #50600: URL: https://github.com/apache/spark/pull/50600#discussion_r2048050612
########## sql/core/src/main/scala/org/apache/spark/sql/classic/RelationalGroupedDataset.scala: ########## @@ -479,6 +505,24 @@ class RelationalGroupedDataset protected[sql]( timeModeStr: String, initialState: RelationalGroupedDataset, eventTimeColumnName: String): DataFrame = { + _transformWithStateInPySpark( + func, + outputStructType, + outputModeStr, + timeModeStr, + initialState, + eventTimeColumnName, + TransformWithStateInPySpark.UserFacingDataType.PANDAS) + } + + private def _transformWithStateInPySpark( + func: Column, + outputStructType: StructType, + outputModeStr: String, + timeModeStr: String, + initialState: RelationalGroupedDataset, + eventTimeColumnName: String, + userFacingDataType: TransformWithStateInPySpark.UserFacingDataType.Value): DataFrame = { Review Comment: I'm not sure this is complicated - what else you want to propose? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org