Skip to content

Conversation

@fedimser
Copy link
Contributor

What changes were proposed in this pull request?

  • Add a test that verifies that 6 compression types for RocksDB are supported.
  • Document these 6 compression types in documentation.

Why are the changes needed?

We allow setting "spark.sql.streaming.stateStore.rocksdb.compression" config that specifies what compression types RocksDB will use (when using stateful operators). However, we don't explicitly list what types are supported and we don't have a unit test to require that these types are supported.

In this PR we explicitly list 6 supported formats and add unit test to guarantee these are supported.

This will prevent changes that can break support for some of these compression types.

Note that one compression type, "xpress" is not supported. Trying to set it in config leads to an error: Compression type Xpress is not linked with the binary. So we will not add a test for it and will not declare it as supported in documentation.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

A unit test for supported compression types.

Was this patch authored or co-authored using generative AI tooling?

No.

Dmytro Fedoriaka added 2 commits February 11, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant