зеркало из https://github.com/mozilla/data-docs.git
Remove note about future work with UDFs + docs (#583)
We have no plans to publish the UDFs to DTMO (mozilla/bigquery-etl#228)
This commit is contained in:
Родитель
baaa60f294
Коммит
79737a9574
|
@ -154,7 +154,7 @@ You can create views in BigQuery if you have access via [GCP BigQuery Console](a
|
|||
|
||||
BigQuery offers [user-defined functions](https://cloud.google.com/bigquery/docs/reference/standard-sql/user-defined-functions) (UDFs) that can be defined in SQL or JavaScript as part of a query or as a persistent function stored in a dataset. We have defined a suite of public persistent functions to enable transformations specific to our data formats, available in [`mozfun`](https://mozilla.github.io/bigquery-etl/). UDFs used internally in `moz-fx-data-shared-prod` are available in datasets `udf` (for functions defined in SQL) and `udf_js` (for functions defined in JavaScript). Note that JavaScript functions are potentially much slower than those defined in SQL, so use functions in `udf_js` with some caution, likely only after performing aggregation in your query.
|
||||
|
||||
We document a few of the most broadly useful UDFs below, but you can see the full list of `mozfun` UDFs in [https://mozilla.github.io/bigquery-etl](https://mozilla.github.io/bigquery-etl/) and or UDFs with source code used within `moz-fx-data-shared-prod` in [`bigquery-etl/sql/moz-fx-data-shared-prod/udf`](https://github.com/mozilla/bigquery-etl/tree/master/sql/moz-fx-data-shared-prod/udf) and [`bigquery-etl/sql/moz-fx-data-shared-prod/udf_js`](https://github.com/mozilla/bigquery-etl/tree/master/sql/moz-fx-data-shared-prod/udf_js). Publishing a full reference page for our persistent UDFs is a planned improvement, tracked in [`bigquery-etl#228`](https://github.com/mozilla/bigquery-etl/issues/228).
|
||||
We document a few of the most broadly useful UDFs below, but you can see the full list of `mozfun` UDFs in [https://mozilla.github.io/bigquery-etl](https://mozilla.github.io/bigquery-etl/) and or UDFs with source code used within `moz-fx-data-shared-prod` in [`bigquery-etl/sql/moz-fx-data-shared-prod/udf`](https://github.com/mozilla/bigquery-etl/tree/master/sql/moz-fx-data-shared-prod/udf) and [`bigquery-etl/sql/moz-fx-data-shared-prod/udf_js`](https://github.com/mozilla/bigquery-etl/tree/master/sql/moz-fx-data-shared-prod/udf_js).
|
||||
|
||||
## Accessing map-like fields
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче