Skip to content

Commit

Permalink
this should work
Browse files Browse the repository at this point in the history
  • Loading branch information
ericm-db committed Dec 13, 2024
1 parent 883e8ff commit 2306c7c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,11 @@ private[sql] class RocksDBStateStoreProvider
val avroEnc = getAvroEnc(
stateStoreEncoding, avroEncCacheKey, keyStateEncoderSpec, valueSchema)

if (useColumnFamilies) {
val columnFamilyInfo = if (useColumnFamilies) {
defaultColFamilyId = Some(rocksDB.createColFamilyIfAbsent(StateStore.DEFAULT_COL_FAMILY_NAME))
val columnFamilyInfo = Some(ColumnFamilyInfo(colFamilyName, defaultColFamilyId.get))
Some(ColumnFamilyInfo(colFamilyName, defaultColFamilyId.get))
} else {
None
}

val provider = RocksDBStateStoreProvider.this
Expand Down

0 comments on commit 2306c7c

Please sign in to comment.