Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid listFiles or inputFiles on relations with static partitioning [databricks] #11170

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented Jul 11, 2024

Fixes #11167. Databricks 13.3 has a custom FileIndex implementation for static partitioning that does not implement some of the interfaces and instead throws UnsupportedOperationException. This adds shims to detect the new class and avoids calling those interfaces when it's present.

@jlowe jlowe self-assigned this Jul 11, 2024
@jlowe
Copy link
Member Author

jlowe commented Jul 11, 2024

build

revans2
revans2 previously approved these changes Jul 12, 2024
@jlowe jlowe marked this pull request as draft July 12, 2024 14:21
@jlowe
Copy link
Member Author

jlowe commented Jul 12, 2024

Need to update this to account for the spark31x shims being removed in #11159.

@jlowe jlowe marked this pull request as ready for review July 12, 2024 14:34
@jlowe
Copy link
Member Author

jlowe commented Jul 12, 2024

build

@jlowe jlowe merged commit 3c89a31 into NVIDIA:branch-24.08 Jul 12, 2024
41 checks passed
@jlowe jlowe deleted the fix-delta-compaction branch July 12, 2024 21:11
@sameerz sameerz added the bug Something isn't working label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] UnsupportedOperationException during delta write with optimize()
4 participants