Skip to content

fix: fall back to describeNamespace when glue lacks namespaceExists#645

Merged
geruh merged 1 commit into
lance-format:mainfrom
geruh:exists-workaround
Jun 18, 2026
Merged

fix: fall back to describeNamespace when glue lacks namespaceExists#645
geruh merged 1 commit into
lance-format:mainfrom
geruh:exists-workaround

Conversation

@geruh

@geruh geruh commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

#638 exposed a bug that was previously being hidden because namespaceExists was swallowing backend errors. Now that UNSUPPORTED propagates correctly, integration setup fails against Glue 0.3.0 since it never implemented namespaceExists.

Until lance-format/lance-namespace-impls#127 lands in a release and is in the class path we fallback to describeNamespace and when namespaceExists returns unsupported. Missing namespaces map to false via NAMESPACE_NOT_FOUND. Glue 0.3.0 also returns TABLE_NOT_FOUND when describing a missing database, so handle that the same way.

This is temporary, and will be removed once fixed upstream

@github-actions github-actions Bot added the bug Something isn't working label Jun 18, 2026
@geruh geruh merged commit ff6ea79 into lance-format:main Jun 18, 2026
21 checks passed
@geruh geruh deleted the exists-workaround branch June 18, 2026 21:28
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.

1 participant