We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 862113d commit f16a388Copy full SHA for f16a388
datafusion-postgres/src/handlers.rs
@@ -62,8 +62,10 @@ pub struct DfSessionService {
62
}
63
64
impl DfSessionService {
65
- pub fn new(session_context: SessionContext, catalog_name: Option<String>) -> DfSessionService {
66
- let session_context = Arc::new(session_context);
+ pub fn new(
+ session_context: Arc<SessionContext>,
67
+ catalog_name: Option<String>,
68
+ ) -> DfSessionService {
69
let parser = Arc::new(Parser {
70
session_context: session_context.clone(),
71
});
0 commit comments