Skip to content

fix(glue): implement namespaceExists with GetDatabase#127

Open
geruh wants to merge 1 commit into
lance-format:mainfrom
geruh:glue-exists
Open

fix(glue): implement namespaceExists with GetDatabase#127
geruh wants to merge 1 commit into
lance-format:mainfrom
geruh:glue-exists

Conversation

@geruh

@geruh geruh commented Jun 18, 2026

Copy link
Copy Markdown

This PR implements the database exists functionality for Glue namespaces. We already have a helper that has this functionality. This will fix the spark caller using CREATE NAMESPACE IF NOT EXISTS against glue backed namespaces.

Also fixes missing-database handling in getDatabase and listTables as they were throwing TableNotFoundException via notFound(); now namespaceNotFound() so describe/list/get paths agree with drop/ exists on error code.

@github-actions github-actions Bot added enhancement New feature or request java labels Jun 18, 2026
@github-actions

Copy link
Copy Markdown

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@geruh geruh changed the title feat: Implement namespaceExists for Glue via GetDatabase. fix(glue): implement namespaceExists with GetDatabase Jun 18, 2026
@github-actions github-actions Bot added the bug Something isn't working label Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request java

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant