This repository was archived by the owner on Apr 1, 2026. It is now read-only.
Commit 6c96c84
committed
refactor: Define sql nodes and transform
1 parent e6de52d commit 6c96c84
File tree
299 files changed
+2877
-4400
lines changed- 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_w_window
- test_all
- test_any_value
- test_any_w_window
- test_any
- test_approx_quartiles
- test_approx_top_count
- test_count
- test_cut
- test_dense_rank
- test_diff_w_bool
- test_diff_w_datetime
- test_diff_w_date
- test_diff_w_int
- test_diff_w_timestamp
- test_first_non_null
- test_first
- test_last_non_null
- test_last
- test_max
- test_mean
- test_median
- test_min
- test_nunique
- test_pop_var
- test_product
- test_quantile
- test_rank
- test_shift
- test_std
- test_sum
- test_var
- expressions/snapshots
- test_ai_ops
- test_ai_classify
- test_ai_generate_bool_with_connection_id
- test_ai_generate_bool_with_model_param
- test_ai_generate_bool
- test_ai_generate_double_with_connection_id
- test_ai_generate_double_with_model_param
- test_ai_generate_double
- test_ai_generate_int_with_connection_id
- test_ai_generate_int_with_model_param
- test_ai_generate_int
- test_ai_generate_with_connection_id
- 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_reduce_op
- test_array_slice_with_only_start
- test_array_slice_with_start_and_stop
- test_array_to_string
- test_to_array_op
- 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_datetime_to_integer_label
- test_date
- test_dayofweek
- test_dayofyear
- test_day
- test_floor_dt
- test_hour
- test_integer_label_to_datetime_fixed
- test_integer_label_to_datetime_month
- test_integer_label_to_datetime_quarter
- test_integer_label_to_datetime_week
- test_integer_label_to_datetime_year
- 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_binary_remote_function_op
- test_case_when_op
- test_clip
- test_coalesce
- test_fillna
- test_hash
- test_invert
- test_isnull
- test_map
- test_nary_remote_function_op
- test_notnull
- test_remote_function_op
- 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_distance
- test_geo_st_geogfromtext
- test_geo_st_geogpoint
- test_geo_st_intersection
- 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_keys
- test_json_query_array
- test_json_query
- test_json_set
- test_json_value
- test_parse_json
- test_to_json_string
- test_to_json
- 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_euclidean_distance
- test_expm1
- test_exp
- test_floordiv_timedelta
- test_floor
- test_ln
- test_log10
- test_log1p
- test_manhattan_distance
- test_mod_numeric
- test_mul_numeric
- test_mul_timedelta
- test_neg
- test_pos
- test_pow
- test_round
- test_sinh
- test_sin
- test_sqrt
- test_sub_numeric
- test_sub_timedelta
- test_tanh
- test_tan
- test_unsafe_pow_op
- 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_w_array
- 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_geo
- test_st_regionstats_without_optional_args
- test_st_regionstats
- test_st_simplify
- 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_random_sample/test_compile_random_sample
- test_compile_readlocal
- test_compile_readlocal_w_json_df
- test_compile_readlocal_w_lists_df
- test_compile_readlocal_w_special_values
- test_compile_readlocal_w_structs_df
- test_compile_readlocal
- test_compile_readtable
- test_compile_readtable_w_columns_filters
- 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_w_system_time
- test_compile_readtable
- test_compile_window
- test_compile_window_w_groupby_rolling
- test_compile_window_w_range_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.
299 files changed
+2877
-4400
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | | - | |
| 29 | + | |
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
| |||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | | - | |
42 | | - | |
43 | 40 | | |
44 | 41 | | |
45 | 42 | | |
| |||
424 | 421 | | |
425 | 422 | | |
426 | 423 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
| 424 | + | |
| 425 | + | |
434 | 426 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
| 427 | + | |
| 428 | + | |
480 | 429 | | |
481 | 430 | | |
482 | 431 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
| 110 | + | |
131 | 111 | | |
132 | 112 | | |
133 | 113 | | |
| |||
160 | 140 | | |
161 | 141 | | |
162 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
163 | 174 | | |
164 | 175 | | |
165 | 176 | | |
| |||
188 | 199 | | |
189 | 200 | | |
190 | 201 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | 202 | | |
216 | 203 | | |
217 | 204 | | |
| |||
325 | 312 | | |
326 | 313 | | |
327 | 314 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
357 | | - | |
358 | | - | |
359 | | - | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | 315 | | |
402 | 316 | | |
403 | 317 | | |
| |||
0 commit comments