liukun4515 commented on a change in pull request #1288: URL: https://github.com/apache/arrow-datafusion/pull/1288#discussion_r748717022
########## File path: datafusion/src/catalog/schema.rs ########## @@ -57,6 +57,13 @@ pub trait SchemaProvider: Sync + Send { "schema provider does not support deregistering tables".to_owned(), )) } + + /// If supported by the implementation, checks the table exist in the schema provider or not. + /// If no matched table in the schema provider, return false. + /// Otherwise, return true. + fn table_exist(&self, _name: &str) -> bool { + false Review comment: `bool` as the returned value is very clear. I change this function to not implement as default. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org