diff --git a/ibis/backends/datafusion/__init__.py b/ibis/backends/datafusion/__init__.py index 3bb608a0b32c..0ff46e96db0e 100644 --- a/ibis/backends/datafusion/__init__.py +++ b/ibis/backends/datafusion/__init__.py @@ -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)