Skip to content

[spark] Add option for Hive-style dynamic partition writes - #9222

Open
kerwin-zk wants to merge 3 commits into
apache:masterfrom
kerwin-zk:spark/hive-tail-write-option
Open

[spark] Add option for Hive-style dynamic partition writes#9222
kerwin-zk wants to merge 3 commits into
apache:masterfrom
kerwin-zk:spark/hive-tail-write-option

Conversation

@kerwin-zk

@kerwin-zk kerwin-zk commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Purpose

Closes #9156.

PR #8414 made positional writes with explicit dynamic partitions automatically use Hive's column order. This can silently misalign a query that is already in table-schema order when one of its output names differs from the target column name.

This change adds spark.paimon.write.hive-style-dynamic-partition.enabled:

Tests

CI

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.

[Bug][Spark] Positional dynamic partition writes can silently misalign columns

1 participant