This repository was archived by the owner on May 7, 2026. It is now read-only.
Commit 64995d6
authored
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- bigframes/core
- compile/sqlglot
- rewrite
- tests/unit/core/compile/sqlglot
- aggregations/snapshots
- test_binary_compiler
- test_corr
- test_cov
- test_nullary_compiler
- test_row_number_with_window
- test_row_number
- test_size
- test_ordered_unary_compiler
- test_array_agg
- test_string_agg
- test_unary_compiler
- test_all
- test_any_value
- test_approx_quartiles
- test_approx_top_count
- test_count
- test_date_series_diff
- test_dense_rank
- test_diff
- test_first_non_null
- test_first
- test_last_non_null
- test_last
- test_max
- test_mean
- test_median
- test_min
- test_pop_var
- test_quantile
- test_rank
- test_shift
- test_std
- test_sum
- test_time_series_diff
- test_var
- expressions/snapshots
- test_ai_ops
- test_ai_classify
- test_ai_generate_bool_with_model_param
- test_ai_generate_bool
- test_ai_generate_double_with_model_param
- test_ai_generate_double
- test_ai_generate_int_with_model_param
- test_ai_generate_int
- test_ai_generate_with_model_param
- test_ai_generate_with_output_schema
- test_ai_generate
- test_ai_if
- test_ai_score
- test_array_ops
- test_array_index
- test_array_slice_with_only_start
- test_array_slice_with_start_and_stop
- test_array_to_string
- test_blob_ops
- test_obj_fetch_metadata
- test_obj_get_access_url
- test_obj_make_ref
- test_bool_ops
- test_and_op
- test_or_op
- test_xor_op
- test_comparison_ops
- test_eq_null_match
- test_eq_numeric
- test_ge_numeric
- test_gt_numeric
- test_is_in
- test_le_numeric
- test_lt_numeric
- test_maximum_op
- test_minimum_op
- test_ne_numeric
- test_datetime_ops
- test_add_timedelta
- test_date
- test_dayofweek
- test_dayofyear
- test_day
- test_floor_dt
- test_hour
- test_iso_day
- test_iso_week
- test_iso_year
- test_minute
- test_month
- test_normalize
- test_quarter
- test_second
- test_strftime
- test_sub_timedelta
- test_time
- test_to_datetime
- test_to_timestamp
- test_unix_micros
- test_unix_millis
- test_unix_seconds
- test_year
- test_generic_ops
- test_astype_bool
- test_astype_float
- test_astype_from_json
- test_astype_int
- test_astype_json
- test_astype_string
- test_astype_time_like
- test_case_when_op
- test_clip
- test_coalesce
- test_hash
- test_invert
- test_isnull
- test_map
- test_notnull
- test_row_key
- test_sql_scalar_op
- test_where
- test_geo_ops
- test_geo_area
- test_geo_st_astext
- test_geo_st_boundary
- test_geo_st_buffer
- test_geo_st_centroid
- test_geo_st_convexhull
- test_geo_st_difference
- test_geo_st_geogfromtext
- test_geo_st_isclosed
- test_geo_st_length
- test_geo_x
- test_geo_y
- test_json_ops
- test_json_extract_array
- test_json_extract_string_array
- test_json_extract
- test_json_query_array
- test_json_query
- test_json_set
- test_json_value
- test_parse_json
- test_to_json_string
- test_numeric_ops
- test_abs
- test_add_numeric
- test_add_string
- test_add_timedelta
- test_arccosh
- test_arccos
- test_arcsinh
- test_arcsin
- test_arctan2
- test_arctanh
- test_arctan
- test_ceil
- test_cosh
- test_cosine_distance
- test_cos
- test_div_numeric
- test_div_timedelta
- test_expm1
- test_exp
- test_floordiv_timedelta
- test_floor
- test_ln
- test_log10
- test_log1p
- test_mod_numeric
- test_mul_numeric
- test_mul_timedelta
- test_neg
- test_pos
- test_round
- test_sinh
- test_sin
- test_sqrt
- test_sub_numeric
- test_sub_timedelta
- test_tanh
- test_tan
- test_string_ops
- test_add_string
- test_capitalize
- test_endswith
- test_isalnum
- test_isalpha
- test_isdecimal
- test_isdigit
- test_islower
- test_isnumeric
- test_isspace
- test_isupper
- test_len
- test_lower
- test_lstrip
- test_regex_replace_str
- test_replace_str
- test_reverse
- test_rstrip
- test_startswith
- test_str_contains_regex
- test_str_contains
- test_str_extract
- test_str_find
- test_str_get
- test_str_pad
- test_str_repeat
- test_str_slice
- test_strconcat
- test_string_split
- test_strip
- test_upper
- test_zfill
- test_struct_ops
- test_struct_field
- test_struct_op
- test_timedelta_ops
- test_timedelta_floor
- test_to_timedelta
- snapshots
- test_compile_aggregate
- test_compile_aggregate_wo_dropna
- test_compile_aggregate
- test_compile_concat
- test_compile_concat_filter_sorted
- test_compile_concat
- test_compile_explode
- test_compile_explode_dataframe
- test_compile_explode_series
- test_compile_filter/test_compile_filter
- test_compile_isin
- test_compile_isin_not_nullable
- test_compile_isin
- test_compile_join
- test_compile_join_w_on
- bool_col
- float64_col
- int64_col
- numeric_col
- string_col
- time_col
- test_compile_join
- test_compile_readtable
- test_compile_readtable_w_json_types
- test_compile_readtable_w_limit
- test_compile_readtable_w_nested_structs_types
- test_compile_readtable_w_ordering
- test_compile_readtable_w_repeated_types
- test_compile_readtable
- test_compile_window
- test_compile_window_w_groupby_rolling
- test_compile_window_w_skips_nulls_op
- test_compile_window_wo_skips_nulls_op
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
Open diff view settings
Collapse file
bigframes/core/compile/sqlglot/sqlglot_ir.py
Copy file name to clipboardExpand all lines: bigframes/core/compile/sqlglot/sqlglot_ir.py+4Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
134 | 134 | |
135 | 135 | |
136 | 136 | |
| 137 | + |
| 138 | + |
137 | 139 | |
138 | 140 | |
139 | 141 | |
| ||
227 | 229 | |
228 | 230 | |
229 | 231 | |
| 232 | + |
| 233 | + |
230 | 234 | |
231 | 235 | |
232 | 236 | |
|
Collapse file
bigframes/core/rewrite/select_pullup.py
Copy file name to clipboardExpand all lines: bigframes/core/rewrite/select_pullup.py+38-4Lines changed: 38 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
| 16 | + |
16 | 17 | |
17 | 18 | |
18 | | - |
| 19 | + |
19 | 20 | |
20 | 21 | |
21 | 22 | |
| ||
26 | 27 | |
27 | 28 | |
28 | 29 | |
29 | | - |
| 30 | + |
| 31 | + |
| 32 | + |
30 | 33 | |
31 | 34 | |
32 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
33 | 38 | |
34 | | - |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
35 | 43 | |
36 | 44 | |
37 | 45 | |
| ||
42 | 50 | |
43 | 51 | |
44 | 52 | |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
45 | 79 | |
46 | 80 | |
47 | 81 | |
|
Collapse file
tests/unit/core/compile/sqlglot/aggregations/snapshots/test_binary_compiler/test_corr/out.sql
Copy file name to clipboardExpand all lines: tests/unit/core/compile/sqlglot/aggregations/snapshots/test_binary_compiler/test_corr/out.sql+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
| 3 | + |
| 4 | + |
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
tests/unit/core/compile/sqlglot/aggregations/snapshots/test_binary_compiler/test_cov/out.sql
Copy file name to clipboardExpand all lines: tests/unit/core/compile/sqlglot/aggregations/snapshots/test_binary_compiler/test_cov/out.sql+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
| 3 | + |
| 4 | + |
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
tests/unit/core/compile/sqlglot/aggregations/snapshots/test_nullary_compiler/test_row_number/out.sql
Copy file name to clipboardExpand all lines: tests/unit/core/compile/sqlglot/aggregations/snapshots/test_nullary_compiler/test_row_number/out.sql+15-15Lines changed: 15 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
|
Collapse file
tests/unit/core/compile/sqlglot/aggregations/snapshots/test_nullary_compiler/test_row_number_with_window/out.sql
Copy file name to clipboardExpand all lines: tests/unit/core/compile/sqlglot/aggregations/snapshots/test_nullary_compiler/test_row_number_with_window/out.sql+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | 7 | |
8 | | - |
| 8 | + |
9 | 9 | |
10 | 10 | |
11 | 11 | |
|
Collapse file
tests/unit/core/compile/sqlglot/aggregations/snapshots/test_nullary_compiler/test_size/out.sql
Copy file name to clipboardExpand all lines: tests/unit/core/compile/sqlglot/aggregations/snapshots/test_nullary_compiler/test_size/out.sql+15-15Lines changed: 15 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
|
Collapse file
tests/unit/core/compile/sqlglot/aggregations/snapshots/test_ordered_unary_compiler/test_array_agg/out.sql
Copy file name to clipboardExpand all lines: tests/unit/core/compile/sqlglot/aggregations/snapshots/test_ordered_unary_compiler/test_array_agg/out.sql+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
Collapse file
tests/unit/core/compile/sqlglot/aggregations/snapshots/test_ordered_unary_compiler/test_string_agg/out.sql
Copy file name to clipboardExpand all lines: tests/unit/core/compile/sqlglot/aggregations/snapshots/test_ordered_unary_compiler/test_string_agg/out.sql+8-5Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
11 | 14 | |
12 | 15 | |
13 | 16 | |
|
Collapse file
tests/unit/core/compile/sqlglot/aggregations/snapshots/test_unary_compiler/test_all/out.sql
Copy file name to clipboardExpand all lines: tests/unit/core/compile/sqlglot/aggregations/snapshots/test_unary_compiler/test_all/out.sql+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
|
0 commit comments