LuciferYang commented on code in PR #39642: URL: https://github.com/apache/spark/pull/39642#discussion_r1082049907
########## sql/core/src/main/scala/org/apache/spark/sql/streaming/progress.scala: ########## @@ -125,14 +127,16 @@ class StateOperatorProgress private[sql]( * @since 2.1.0 */ @Evolving -class StreamingQueryProgress private[sql]( +class StreamingQueryProgress private[spark]( val id: UUID, val runId: UUID, val name: String, val timestamp: String, val batchId: Long, val batchDuration: Long, val durationMs: ju.Map[String, JLong], + // If `eventTime` is no longer read-only, need change + // `StreamingQueryProgressSerializer#deserialize` to return mutable Java Map val eventTime: ju.Map[String, String], Review Comment: For safety, 6 ju.Map are assigned as mutable Map after [8e89213](https://github.com/apache/spark/pull/39642/commits/8e89213304046737b97d54fe26ddead5e84b02a7) -- 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