bigquery-etl/sql/moz-fx-data-shared-prod/udf
Sean Rose 4bbbc32a5b
Put assert UDFs in `mozfun` project (#4367)
* Put assert UDFs in `mozfun` project.

* Tweak syntax in `assert.array_equals()` to avoid SQLGlot parsing error.
  https://github.com/tobymao/sqlglot/issues/2348

* Fix SQL syntax error in `assert.struct_equals()` tests.

* Fix UDF dependency file path logic when deploying to stage.

* Change regular expressions in `parse_routine` module to allow quotes around routines' dataset and name.
2023-10-13 10:58:42 -07:00
..
active_n_weeks_ago Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
active_values_from_days_seen_map Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
add_monthly_engine_searches Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
add_monthly_searches Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
add_searches_by_index Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
aggregate_active_addons Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
aggregate_map_first Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
aggregate_search_counts Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
aggregate_search_map Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
array_11_zeroes_then Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
array_drop_first_and_append Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
array_of_12_zeroes Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
array_slice Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bitcount_lowest_7 Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bitmask_365 Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
bitmask_lowest_7 Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
bitmask_lowest_28 Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
bitmask_range Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits28_active_in_range Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
bits28_days_since_seen Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits28_from_string Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits28_range Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits28_retention Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits28_to_dates Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits28_to_string Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits_from_offsets Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits_to_active_n_weeks_ago Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits_to_days_seen Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits_to_days_since_first_seen Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bits_to_days_since_seen Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
bool_to_365_bits Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
boolean_histogram_to_boolean Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
coalesce_adjacent_days_28_bits Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
coalesce_adjacent_days_365_bits Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
combine_adjacent_days_28_bits Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
combine_adjacent_days_365_bits Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
combine_days_seen_maps Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
combine_experiment_days Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
country_code_to_flag Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
days_seen_bytes_to_rfm Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
days_since_created_profile_as_28_bits Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
deanonymize_event Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
decode_int64 Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
dedupe_array Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
event_code_points_to_string Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
experiment_search_metric_to_array Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
extract_count_histogram_value Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
extract_document_type Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
extract_document_version Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
extract_histogram_sum Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
extract_schema_validation_path Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
fenix_build_to_datetime Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
ga_is_mozilla_browser Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
geo_struct Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
get_key Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
get_key_with_null Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
glean_timespan_nanos Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
glean_timespan_seconds Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
gzip_length_footer Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
histogram_max_key_with_nonzero_value Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
histogram_merge Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
histogram_normalize Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
histogram_percentiles Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
histogram_to_mean Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
histogram_to_threshold_count Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
hmac_sha256 Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
int_to_365_bits Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
int_to_hex_string Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
json_extract_histogram Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
json_extract_int_map Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
json_mode_last Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
keyed_histogram_get_sum Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
kv_array_append_to_json_string Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
kv_array_to_json_string Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
main_summary_scalars Automatically sort python imports (#1840) 2021-02-24 17:11:52 -05:00
map_bing_revenue_country_to_country_code Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
map_mode_last Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
map_revenue_country Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
map_sum Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
merge_scalar_user_data Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
mod_uint128 Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
mode_last Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
mode_last_retain_nulls Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
monetized_search Revert CI changes for private UDFs and add stub documentation - DENG-735 (#3652) 2023-03-10 11:41:46 -05:00
new_monthly_engine_searches_struct Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
normalize_fenix_metrics Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
normalize_glean_baseline_client_info Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
normalize_glean_ping_info Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
normalize_main_payload Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
normalize_metadata Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
normalize_monthly_searches Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
normalize_os Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
normalize_search_engine Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
null_if_empty_list Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
one_as_365_bits Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
pack_event_properties Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
parquet_array_sum Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
parse_desktop_telemetry_uri Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
parse_iso8601_date Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
pos_of_leading_set_bit Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
pos_of_trailing_set_bit Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
product_info_with_baseline Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
pseudonymize_ad_id Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
quantile_search_metric_contribution Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
round_timestamp_to_minute Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
safe_crc32_uuid Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
safe_sample_id Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
search_counts_map_sum Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
shift_28_bits_one_day Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
shift_365_bits_one_day Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
shift_one_day Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
smoot_usage_from_28_bits Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
vector_add Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
zero_as_365_bits Ran YAMLlint on all yaml files and resolved linting issues (fixes #1297) (#1481) 2020-10-29 17:24:55 -07:00
zeroed_array Put assert UDFs in `mozfun` project (#4367) 2023-10-13 10:58:42 -07:00
dataset_metadata.yaml Bug 1708264 - Generate dataset metadata (#1988) 2021-05-03 11:47:43 -04:00