shyjsarah commented on code in PR #747:
URL: https://github.com/apache/paimon-rust/pull/747#discussion_r3870480307


##########
crates/integrations/datafusion/src/catalog.rs:
##########
@@ -683,13 +735,20 @@ impl SchemaProvider for PaimonSchemaProvider {
                     paimon::spec::CoreOptions::new(&session_options)
                         .ensure_engine_can_serve(&identifier.full_name())
                         .map_err(to_datafusion_error)?;
-                    let resolver = table_engines.get(&declared).ok_or_else(|| {
-                        plan_datafusion_err!(
-                            "no table engine is registered for '{}' tables 
('{}')",
+                    let Some(resolver) = table_engines.get(&declared) else {

Review Comment:
   Fixed in d3200f4. The missing-resolver metadata fallback now runs before 
session read-option validation. `ensure_engine_can_serve` remains on the 
registered-engine path, while scans through the metadata-only provider still 
fail with the unregistered-engine error.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to