Skip to content

[AURON #2449] Add fallback coverage for unsupported Paimon scan data type - #2450

Merged
slfan1989 merged 2 commits into
apache:masterfrom
weimingdiit:test/paimon-unsupported-type-fallback
Aug 9, 2026
Merged

[AURON #2449] Add fallback coverage for unsupported Paimon scan data type#2450
slfan1989 merged 2 commits into
apache:masterfrom
weimingdiit:test/paimon-unsupported-type-fallback

Conversation

@weimingdiit

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #2449

Rationale for this change

Paimon native scan currently falls back when the read schema contains unsupported
data types, but this behavior was not covered by the integration tests.

Adding this regression test ensures unsupported decimal types continue to use the
Spark fallback path and do not enter native Paimon execution accidentally.

What changes are included in this PR?

Adds a Paimon integration test for an unsupported decimal(38,10) column.

The test:

  • Writes a row using the unsupported decimal type.
  • Verifies that Spark returns the expected result.
  • Verifies that the executed plan does not contain NativePaimonV2TableScan.

No execution logic or user-facing behavior is changed.

Are there any user-facing changes?

No user-facing changes.

How was this patch tested?

UT.

… data types

Signed-off-by: weimingdiit <weimingdiit@gmail.com>
Signed-off-by: weimingdiit <weimingdiit@gmail.com>
@weimingdiit
weimingdiit marked this pull request as ready for review August 6, 2026 08:03

@slfan1989 slfan1989 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.

Thanks for adding this regression coverage. The test verifies both the query result and that an unsupported decimal type does not enter the native Paimon scan path. LGTM.

@slfan1989
slfan1989 merged commit 0e6388d into apache:master Aug 9, 2026
123 checks passed
@slfan1989

Copy link
Copy Markdown
Contributor

@weimingdiit Thanks for the contribution! Merged into the master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add fallback coverage for unsupported Paimon scan data type

2 participants