We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59cbc5d commit 34eb4fbCopy full SHA for 34eb4fb
bigframes/core/compile/__init__.py
@@ -22,14 +22,14 @@
22
23
def compiler() -> Any:
24
"""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:
+ if options.experiments.sql_compiler == "legacy":
30
import bigframes.core.compile.ibis_compiler.ibis_compiler as ibis_compiler
31
32
return ibis_compiler
+ else:
+ import bigframes.core.compile.sqlglot.compiler as sqlglot_compiler
+
+ return sqlglot_compiler
33
34
35
__all__ = [
0 commit comments