Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit eac737c

Browse files
fixups
1 parent d8dac65 commit eac737c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bigframes/_config/experiment_options.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class ExperimentOptions:
2727
def __init__(self):
2828
self._semantic_operators: bool = False
2929
self._ai_operators: bool = False
30+
# TODO: DO NOT SUBMIT, revert before submitting
3031
self._sql_compiler: Literal["legacy", "stable", "experimental"] = "experimental"
3132

3233
@property

tests/unit/_config/test_experiment_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_ai_operators_set_true_shows_warning():
5151
def test_sql_compiler_default_stable():
5252
options = experiment_options.ExperimentOptions()
5353

54-
assert options.sql_compiler == "stable"
54+
assert options.sql_compiler == "experimental"
5555

5656

5757
def test_sql_compiler_set_experimental_shows_warning():

tests/unit/core/compile/sqlglot/snapshots/test_compile_random_sample/test_compile_random_sample/out.sql

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
WITH `bfcte_0` AS (
22
SELECT
3-
*,
4-
RAND() AS `bfcol_16`
3+
*
54
FROM UNNEST(ARRAY<STRUCT<`bfcol_0` BOOLEAN, `bfcol_1` BYTES, `bfcol_2` DATE, `bfcol_3` DATETIME, `bfcol_4` GEOGRAPHY, `bfcol_5` INT64, `bfcol_6` INT64, `bfcol_7` NUMERIC, `bfcol_8` FLOAT64, `bfcol_9` INT64, `bfcol_10` INT64, `bfcol_11` STRING, `bfcol_12` TIME, `bfcol_13` TIMESTAMP, `bfcol_14` INT64, `bfcol_15` INT64>>[STRUCT(
65
TRUE,
76
CAST(b'Hello, World!' AS BYTES),
@@ -161,7 +160,7 @@ WITH `bfcte_0` AS (
161160
*
162161
FROM `bfcte_0`
163162
WHERE
164-
`bfcol_16` < 0.1
163+
RAND() < 0.1
165164
)
166165
SELECT
167166
`bfcol_0` AS `bool_col`,

0 commit comments

Comments
 (0)