diff --git a/bigframes/core/compile/__init__.py b/bigframes/core/compile/__init__.py index 15d2d0e52c..6e7f209ed0 100644 --- a/bigframes/core/compile/__init__.py +++ b/bigframes/core/compile/__init__.py @@ -22,14 +22,14 @@ def compiler() -> Any: """Returns the appropriate compiler module based on session options.""" - if options.experiments.sql_compiler == "experimental": - import bigframes.core.compile.sqlglot.compiler as sqlglot_compiler - - return sqlglot_compiler - else: + if options.experiments.sql_compiler == "legacy": import bigframes.core.compile.ibis_compiler.ibis_compiler as ibis_compiler return ibis_compiler + else: + import bigframes.core.compile.sqlglot.compiler as sqlglot_compiler + + return sqlglot_compiler __all__ = [ diff --git a/noxfile.py b/noxfile.py index fc88490321..2c5ac9c7c6 100644 --- a/noxfile.py +++ b/noxfile.py @@ -470,7 +470,6 @@ def cover(session): omitted_paths = [ # non-prod, unit tested "bigframes/core/compile/polars/*", - "bigframes/core/compile/sqlglot/*", # untested "bigframes/streaming/*", # utils