Skip to content

[server] Allow altering datalake auto-compaction before lake enabled#3458

Merged
luoyuxia merged 3 commits into
apache:mainfrom
wzx140:codex/alter-datalake-auto-compaction-apache
Jun 10, 2026
Merged

[server] Allow altering datalake auto-compaction before lake enabled#3458
luoyuxia merged 3 commits into
apache:mainfrom
wzx140:codex/alter-datalake-auto-compaction-apache

Conversation

@wzx140

@wzx140 wzx140 commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Allow table.datalake.auto-compaction to be altered.
  • Add coordinator IT coverage for the allowed alter paths

@luoyuxia luoyuxia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wzx140 Thanks for the pr. Left one minor comment. PTAL

}

if (tableKeysToChange.contains(ConfigOptions.TABLE_DATALAKE_AUTO_COMPACTION.key())
&& currentConfig.isDataLakeEnabled()) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why reject this when datalake is enabled? IIUC, we can change this no matter datalake enable or not.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don’t see a valid reason to block this when datalake is enabled. I’ll update the logic and remove the restriction.

@luoyuxia luoyuxia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@luoyuxia luoyuxia merged commit b336f2e into apache:main Jun 10, 2026
7 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