Skip to content

Commit 3a058af

Browse files
committed
refactor: lint fix
1 parent 9e83b85 commit 3a058af

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

datafusion-postgres/src/pg_catalog.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,10 @@ pub fn create_current_schema_udf() -> ScalarUDF {
653653
}
654654

655655
/// Install pg_catalog and postgres UDFs to current `SessionContext`
656-
pub fn setup_pg_catalog(session_context: &SessionContext, catalog_name: &str) -> Result<()> {
656+
pub fn setup_pg_catalog(
657+
session_context: &SessionContext,
658+
catalog_name: &str,
659+
) -> Result<(), Box<DataFusionError>> {
657660
let pg_catalog = PgCatalogSchemaProvider::new(session_context.state().catalog_list().clone());
658661
session_context
659662
.catalog(catalog_name)

0 commit comments

Comments
 (0)