Skip to content

Commit 34eb4fb

Browse files
committed
feat: enable SQLGlot compiler as default
1 parent 59cbc5d commit 34eb4fb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

bigframes/core/compile/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@
2222

2323
def compiler() -> Any:
2424
"""Returns the appropriate compiler module based on session options."""
25-
if options.experiments.sql_compiler == "experimental":
26-
import bigframes.core.compile.sqlglot.compiler as sqlglot_compiler
27-
28-
return sqlglot_compiler
29-
else:
25+
if options.experiments.sql_compiler == "legacy":
3026
import bigframes.core.compile.ibis_compiler.ibis_compiler as ibis_compiler
3127

3228
return ibis_compiler
29+
else:
30+
import bigframes.core.compile.sqlglot.compiler as sqlglot_compiler
31+
32+
return sqlglot_compiler
3333

3434

3535
__all__ = [

0 commit comments

Comments
 (0)