fix(datafusion): keep metadata queries available without table engines - #747
Open
shyjsarah wants to merge 2 commits into
Open
fix(datafusion): keep metadata queries available without table engines#747shyjsarah wants to merge 2 commits into
shyjsarah wants to merge 2 commits into
Conversation
This was referenced Aug 26, 2026
shyjsarah
force-pushed
the
fix/information-schema-unregistered-engine
branch
from
August 27, 2026 02:51
8075d43 to
ce43b27
Compare
Contributor
|
jerry-024
reviewed
Aug 27, 2026
Contributor
Author
|
Addressed in d3200f4: when no engine is registered, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
After external table routing was made fail-closed, DataFusion metadata queries such as
information_schema.columnscould fail if a catalog contained any external table whose engine was not registered. This also surfaced through statements that inspect catalog metadata.Changes
table_exist()agree with the metadata-only provider for catalog tables without a registered engineno table engine is registerederrorSHOW TABLES, unrelated and externalinformation_schema.columnsqueries, direct reads, destructive statements, andtable_existBehavior
SHOW TABLESinformation_schema.columnsSessionContext::table_existSELECTTests
cargo fmt --all -- --checkcargo +1.98.0 clippy --locked -p paimon -p paimon-datafusion --all-targets --features fulltext,vortex -- -D warningscargo test -p paimon-datafusion --test table_type_routing