dylanwong250 commented on code in PR #51484:
URL: https://github.com/apache/spark/pull/51484#discussion_r2211673420
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/HDFSBackedStateStoreProvider.scala:
##########
@@ -90,7 +90,7 @@ private[sql] class HDFSBackedStateStoreProvider extends
StateStoreProvider with
override def abort(): Unit = {}
override def toString(): String = {
-
s"HDFSReadStateStore[id=(op=${id.operatorId},part=${id.partitionId}),dir=$baseDir]"
+ s"HDFSReadStateStore[stateStoreProviderId=$stateStoreProviderId]"
Review Comment:
The reason for stateStoreProviderId is that it also contains the queryRunId.
HDFSBackedReadStateStore is a subclass of HDFSBackedStateStoreProvider so doing
this also allows us to have the information of the queryRunId.
--
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]