Skip to content

[python][daft] Restore IOConfig after source deserialization#8715

Merged
JingsongLi merged 1 commit into
apache:masterfrom
QuakeWang:daft-ioconfig
Jul 20, 2026
Merged

[python][daft] Restore IOConfig after source deserialization#8715
JingsongLi merged 1 commit into
apache:masterfrom
QuakeWang:daft-ioconfig

Conversation

@QuakeWang

Copy link
Copy Markdown
Member

Purpose

PaimonDataSource rebuilt StorageConfig only from static catalog options after deserialization. This dropped a caller-provided IOConfig and failed to refresh REST credentials used by native Parquet tasks.

Reload the table before rebuilding StorageConfig, restore an explicit IOConfig when provided, and otherwise refresh REST credentials. Add regression coverage for both paths.

Tests

  • pytest -q pypaimon/tests/daft

PaimonDataSource rebuilt StorageConfig from static catalog options
during deserialization. This dropped caller-provided IOConfig and missed
refreshed REST credentials used by native Parquet tasks.

Reload the table before rebuilding StorageConfig, restore explicit
IOConfig when present, and otherwise refresh REST credentials. Add
regression coverage for both paths.

Signed-off-by: QuakeWang <wangfuzheng0814@foxmail.com>
@XiaoHongbo-Hope

Copy link
Copy Markdown
Contributor

+1

@JingsongLi
JingsongLi merged commit e8c2178 into apache:master Jul 20, 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.

3 participants