Skip to content

Commit

Permalink
fix: datafusion: do_connect: properly deal with config-is-actually-co…
Browse files Browse the repository at this point in the history
…ntext
  • Loading branch information
dlovell authored and cpcloud committed Oct 4, 2023
1 parent d4c97b0 commit 649480c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ibis/backends/datafusion/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def do_connect(
>>> ibis.datafusion.connect(config)
"""
if isinstance(config, SessionContext):
self._context = config
(self._context, config) = (config, None)
else:
if SessionConfig is not None:
df_config = SessionConfig().with_information_schema(True)
Expand Down

0 comments on commit 649480c

Please # to comment.