Skip to content

Preserve a few settings to partition export - #1990

Merged
arthurpassos merged 2 commits into
antalya-26.3from
preserve_few_settings_to_partition_export
Jul 3, 2026
Merged

Preserve a few settings to partition export#1990
arthurpassos merged 2 commits into
antalya-26.3from
preserve_few_settings_to_partition_export

Conversation

@arthurpassos

@arthurpassos arthurpassos commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Route a few more settings through export partition to export part: output_format_parquet_compression_method, output_format_compression_level, output_format_parquet_row_group_size and output_format_parquet_row_group_size_bytes.

Documentation entry for user-facing changes

...

CI/CD Options

Exclude tests:

  • Fast test
  • Integration Tests
  • Stateless tests
  • Stateful tests
  • Performance tests
  • Aarch64 tests
  • All with ASAN
  • All with TSAN
  • All with MSAN
  • All with UBSAN
  • All with Coverage
  • All Regression
  • Disable CI Cache

Regression jobs to run:

  • Fast suites (mostly <1h)
  • Aggregate Functions (2h)
  • Alter (1.5h)
  • Benchmark (30m)
  • ClickHouse Keeper (1h)
  • Iceberg (2h)
  • LDAP (1h)
  • OAuth (5m)
  • Parquet (1.5h)
  • RBAC (1.5h)
  • SSL Server (1h)
  • S3 (2h)
  • S3 Export (2h)
  • Swarms (30m)
  • Tiered Storage (2h)

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

Workflow [PR], commit [a51472b]

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b53014e9d7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

manifest.parquet_parallel_encoding = query_context->getSettingsRef()[Setting::output_format_parquet_parallel_encoding];
manifest.parquet_compression_method = query_context->getSettingsRef()[Setting::output_format_parquet_compression_method].toString();
manifest.output_format_compression_level = query_context->getSettingsRef()[Setting::output_format_compression_level];
manifest.parquet_row_group_size = query_context->getSettingsRef()[Setting::output_format_parquet_row_group_size];

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Persist the Parquet row-group byte limit too

When users schedule EXPORT PARTITION with output_format_parquet_row_group_size_bytes (for example to avoid the default 512 MiB cap), this manifest only captures output_format_parquet_row_group_size; the background export context is rebuilt from the manifest, and getFormatSettings consumes both output_format_parquet_row_group_size and output_format_parquet_row_group_size_bytes (src/Formats/FormatFactory.cpp:202-203). Any worker replica will therefore fall back to its default byte limit and produce different row groups than the initiating query. Please persist and restore output_format_parquet_row_group_size_bytes alongside this field.

Useful? React with 👍 / 👎.

@arthurpassos arthurpassos changed the title preserve a few settings to partition export Preserve a few settings to partition export Jul 1, 2026
@arthurpassos

Copy link
Copy Markdown
Collaborator Author

@codex review, do not care about backwards compatibility

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: a51472bc5e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@arthurpassos arthurpassos added antalya port-antalya PRs to be ported to all new Antalya releases antalya-26.3 labels Jul 2, 2026
@ianton-ru

Copy link
Copy Markdown

What's a point in adding settings in separate PR without using?

@arthurpassos

Copy link
Copy Markdown
Collaborator Author

What's a point in adding settings in separate PR without using?

what do you mean by "without using"? You mean why I haven't written tests for it?

@ianton-ru

Copy link
Copy Markdown

My bad, read 'preserve' as 'reserve'

@arthurpassos
arthurpassos merged commit 009ccce into antalya-26.3 Jul 3, 2026
249 of 254 checks passed
@svb-alt svb-alt added the verified Approved for release label Jul 3, 2026
zvonand pushed a commit that referenced this pull request Aug 6, 2026
…tion_export

Preserve a few settings to partition export

Source-PR: #1990 (#1990)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

antalya antalya-26.3 port-antalya PRs to be ported to all new Antalya releases verified Approved for release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants