diff --git a/opteryx/engine/planner/operations/dataset_reader_node.py b/opteryx/engine/planner/operations/dataset_reader_node.py index e47448055..a393e3ea2 100644 --- a/opteryx/engine/planner/operations/dataset_reader_node.py +++ b/opteryx/engine/planner/operations/dataset_reader_node.py @@ -131,6 +131,7 @@ def __init__( # circular imports from opteryx.engine.planner.planner import QueryPlanner + if isinstance(self._dataset, (list, QueryPlanner, dict)): return @@ -180,6 +181,7 @@ def execute(self) -> Iterable: # circular imports from opteryx.engine.planner.planner import QueryPlanner + if isinstance(self._dataset, QueryPlanner): metadata = None