alyssa-db commented on code in PR #59247:
URL: https://github.com/apache/spark/pull/59247#discussion_r4289485595


##########
sql/api/src/main/scala/org/apache/spark/sql/streaming/progress.scala:
##########
@@ -295,6 +320,13 @@ private class ObjectToStringDeserializer extends 
JsonDeserializer[String] {
   }
 }
 
+private class ObjectToTriggerDeserializer extends JsonDeserializer[Trigger] {

Review Comment:
   I see deserialization used with StreamingQueryProgress.fromJson, such as 
[here](https://github.com/apache/spark/blob/ba9a922fbd14da1b5186a91184cafa5b7c50b5db/sql/connect/common/src/main/scala/org/apache/spark/sql/connect/StreamingQuery.scala#L64-L75)
 and a good number of examples.



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