-
Notifications
You must be signed in to change notification settings - Fork 28.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-48796][SS] Load Column Family Id from RocksDBCheckpointMetadat…
…a for VCF when restarting ### What changes were proposed in this pull request? Persisting the mapping between columnFamilyName to columnFamilyId in RocksDBCheckpointMetadata and RocksDBSnapshot. RocksDB will maintain an internal metadata of this mapping, and set this info on load. RocksDBStateStoreProvider can call columnFamily operations as usual, and RocksDB.scala will translate the name to the virtual column family ID. ### Why are the changes needed? To enable the use of virtual column families, and the performance benefits it comes along with, with the TransformWithState operator ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Amended unit tests ### Was this patch authored or co-authored using generative AI tooling? No Closes #47778 from ericm-db/vcf-integration-state-store. Authored-by: Eric Marnadi <[email protected]> Signed-off-by: Jungtaek Lim <[email protected]>
- Loading branch information
1 parent
8fbbcb0
commit e64f620
Showing
6 changed files
with
427 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.