Skip to content

Commit

Permalink
throw the exception
Browse files Browse the repository at this point in the history
  • Loading branch information
eason-yuchen-liu committed Jun 27, 2024
1 parent 6f1425d commit 4deb63e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class StatePartitionReader(

case Some(snapshotStartBatchId) =>
if (!provider.isInstanceOf[SupportsFineGrainedReplay]) {
StateStoreErrors.stateStoreProviderDoesNotSupportFineGrainedReplay(
throw StateStoreErrors.stateStoreProviderDoesNotSupportFineGrainedReplay(
provider.getClass.toString)
}
provider.asInstanceOf[SupportsFineGrainedReplay]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ class SymmetricHashJoinStateManager(
useMultipleValuesPerKey = false)
if (snapshotStartVersion.isDefined) {
if (!stateStoreProvider.isInstanceOf[SupportsFineGrainedReplay]) {
StateStoreErrors.stateStoreProviderDoesNotSupportFineGrainedReplay(
throw StateStoreErrors.stateStoreProviderDoesNotSupportFineGrainedReplay(
stateStoreProvider.getClass.toString)
}
stateStoreProvider.asInstanceOf[SupportsFineGrainedReplay]
Expand Down

0 comments on commit 4deb63e

Please sign in to comment.