avantgardnerio commented on code in PR #4112:
URL: https://github.com/apache/arrow-datafusion/pull/4112#discussion_r1014661937
##########
datafusion/core/src/execution/context.rs:
##########
@@ -175,6 +175,26 @@ impl SessionContext {
Self::with_config(SessionConfig::new())
}
+ /// Finds any ListSchemaProviders and instructs them to reload tables from
"disk"
+ pub async fn refresh_catalogs(&self) -> Result<()> {
Review Comment:
Moving this code to a common function on the context which we can use from
`datafusion-cli`, tests, Ballista, etc.
--
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]