sahnib commented on code in PR #44961:
URL: https://github.com/apache/spark/pull/44961#discussion_r1483693613
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/StateStoreChangelog.scala:
##########
@@ -155,6 +161,11 @@ class StateStoreChangelogWriterV1(
operationName = "Delete", entity = "changelog writer v1")
}
+ override def merge(key: Array[Byte], value: Array[Byte], colFamilyName:
String): Unit = {
+ throw new UnsupportedOperationException("Operation not supported with
state " +
Review Comment:
ChangelogCheckpointingWriterV1 currently throws
UnsupportedOperationException for all column family based operations. I
followed the same approach here. Would the user ever hit this directly? We have
guardrails in state store initialization to ensure such a scenario never
happens, right?
--
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]