gratus00 commented on code in PR #27644:
URL: https://github.com/apache/datafusion/pull/27644#discussion_r4714841296
##########
datafusion/ffi/src/schema_provider.rs:
##########
@@ -362,8 +365,8 @@ impl SchemaProvider for ForeignSchemaProvider {
}
/// Returns true if table exist in the schema provider, false otherwise.
- fn table_exist(&self, name: &str) -> bool {
- unsafe { (self.0.table_exist)(&self.0, name.into()) }
+ fn table_exist(&self, name: &str) -> Result<bool> {
Review Comment:
Let me know if `test_ffi_schema_provider_propagates_failures` is a
sufficient parallel to the catalog provider tests
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]