You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "anishshri-db (via GitHub)" <gi...@apache.org> on 2024/07/26 23:14:08 UTC
Re: [PR] [SPARK-49031] Implement validation for the TransformWithStateExec operator using OperatorStateMetadataV2 [spark]
anishshri-db commented on code in PR #47508:
URL: https://github.com/apache/spark/pull/47508#discussion_r1693683286
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/TransformWithStateExec.scala:
##########
@@ -425,7 +432,10 @@ case class TransformWithStateExec(
val operatorPropertiesJson: JValue =
("timeMode" -> JString(timeMode.toString)) ~
- ("outputMode" -> JString(outputMode.toString))
+ ("outputMode" -> JString(outputMode.toString)) ~
Review Comment:
Can we just move this to a class as well ? Something like `case class TransformWithStateOperatorProperties` and apply the similar to/from json methods ?
--
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-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org