zifeif2 commented on code in PR #53287:
URL: https://github.com/apache/spark/pull/53287#discussion_r2604294464
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/HDFSBackedStateStoreProvider.scala:
##########
@@ -322,12 +322,17 @@ private[sql] class HDFSBackedStateStoreProvider extends
StateStoreProvider with
override def getStore(
version: Long,
uniqueId: Option[String] = None,
- forceSnapshotOnCommit: Boolean = false): StateStore = {
+ forceSnapshotOnCommit: Boolean = false,
+ loadEmpty: Boolean = false): StateStore = {
if (uniqueId.isDefined) {
throw StateStoreErrors.stateStoreCheckpointIdsNotSupported(
"HDFSBackedStateStoreProvider does not support checkpointFormatVersion
> 1 " +
"but a state store checkpointID is passed in")
}
+ if (loadEmpty) {
+ throw StateStoreErrors.unsupportedOperationException("getStore",
+ "loadEmpty parameter is not supported in HDFSBackedStateStoreProvider")
Review Comment:
Changed to `Internal Error: HDFSBackedStateStoreProvider doesn't support
loadEmpty`. wdyt?
--
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]