Skip to content

[spark] Respect blob-compaction.enabled in Spark compact procedure - #9165

Merged
JingsongLi merged 1 commit into
apache:masterfrom
jackylee-ch:spark-blob-compaction-procedure
Aug 11, 2026
Merged

[spark] Respect blob-compaction.enabled in Spark compact procedure#9165
JingsongLi merged 1 commit into
apache:masterfrom
jackylee-ch:spark-blob-compaction-procedure

Conversation

@jackylee-ch

Copy link
Copy Markdown
Contributor

Purpose

compactDataEvolutionTable hardcodes compactBlob to false, so blob-compaction.enabled is
silently ignored by sys.compact and blob files are never compacted from Spark. Flink already
reads the option in DataEvolutionTableCompactSource. The flag is only consumed when the
coordinator is constructed, so nothing downstream compensates.

The existing test asserts 22 files become 12 (blob files untouched); the Flink test on a table
with the option enabled asserts 22 become 2.

Tests

BlobTestBase

@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi
JingsongLi merged commit 98db99d into apache:master Aug 11, 2026
12 checks passed
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.

2 participants