8000 migrate from deprecated RuntimeEnv::new to RuntimeEnv::try_new · Michael-J-Ward/datafusion-python@e14cca2 · GitHub
[go: up one dir, main page]

Skip to content

Commit e14cca2

Browse files
migrate from deprecated RuntimeEnv::new to RuntimeEnv::try_new
Ref: apache/datafusion#12566
1 parent f2e8ca0 commit e14cca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ impl PySessionContext {
287287
} else {
288288
RuntimeConfig::default()
289289
};
290-
let runtime = Arc::new(RuntimeEnv::new(runtime_config)?);
290+
let runtime = Arc::new(RuntimeEnv::try_new(runtime_config)?);
291291
let session_state = SessionStateBuilder::new()
292292
.with_config(config)
293293
.with_runtime_env(runtime)

0 commit comments

Comments
 (0)
0