Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions datafusion-postgres/src/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ pub struct DfSessionService {
}

impl DfSessionService {
pub fn new(session_context: SessionContext, catalog_name: Option<String>) -> DfSessionService {
let session_context = Arc::new(session_context);
pub fn new(
session_context: Arc<SessionContext>,
catalog_name: Option<String>,
) -> DfSessionService {
let parser = Arc::new(Parser {
session_context: session_context.clone(),
});
Expand Down
Loading