LuciferYang commented on code in PR #41540:
URL: https://github.com/apache/spark/pull/41540#discussion_r1227549451
##########
sql/core/src/main/scala/org/apache/spark/sql/streaming/StreamingQueryListener.scala:
##########
@@ -123,7 +128,17 @@ object StreamingQueryListener {
val id: UUID,
val runId: UUID,
val name: String,
- val timestamp: String) extends Event
+ val timestamp: String) extends Event {
+
+ def json: String = compact(render(jsonValue))
+
+ private def jsonValue: JValue = {
Review Comment:
- https://github.com/apache/spark/pull/36885
- https://issues.apache.org/jira/browse/SPARK-39658
@WweiL A old story, hope the above two links will be helpful to you :)
--
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]