Skip to content

[spark] Convert exceptions to NoSuchTable for file-format namespace#7818

Merged
JingsongLi merged 2 commits into
apache:masterfrom
Zouxxyy:dev/select-parquet
May 13, 2026
Merged

[spark] Convert exceptions to NoSuchTable for file-format namespace#7818
JingsongLi merged 2 commits into
apache:masterfrom
Zouxxyy:dev/select-parquet

Conversation

@Zouxxyy
Copy link
Copy Markdown
Contributor

@Zouxxyy Zouxxyy commented May 11, 2026

Purpose

When using Paimon as the Spark catalog, parquet.\path`queries may fail with non-existence exceptions (e.g., permission denied). This change converts all exceptions for file-format namespaces toNoSuchTableException, allowing Spark's ResolveSQLOnFile` to handle them.

Tests

Added test in PaimonQueryTest.scala.

@Zouxxyy Zouxxyy changed the title [spark] Allow SQL-on-file queries under Paimon catalog [spark] Convert exceptions to NoSuchTable for file-format namespace May 11, 2026
Copy link
Copy Markdown
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

+1

@JingsongLi JingsongLi merged commit 481559e into apache:master May 13, 2026
12 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