Skip to content

Commit deb14e2

Browse files
authored
docs: add code sample and docstring for bpd.options.experiments.sql_compiler.
Added documentation for the sql_compiler property.
1 parent a2f2b65 commit deb14e2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bigframes/_config/experiment_options.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ def ai_operators(self, value: bool):
7272

7373
@property
7474
def sql_compiler(self) -> Literal["legacy", "stable", "experimental"]:
75+
"""Set to 'experimental' to try out the latest in compilation experiments..
76+
77+
**Examples:**
78+
79+
>>> import bigframes.pandas as bpd
80+
>>> bpd.options.experiments.sql_compiler = 'experimental' # doctest: +SKIP
81+
"""
7582
return self._sql_compiler
7683

7784
@sql_compiler.setter

0 commit comments

Comments
 (0)