anishshri-db commented on code in PR #50600:
URL: https://github.com/apache/spark/pull/50600#discussion_r2048164106
##########
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:
Oh nvm - this is not directly exposed to users. Name is different between
pandas and non-pandas anyway - so should be fine
--
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]