Skip to content

Commit

Permalink
[ci skip] Deployed 65f7f55 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Nov 7, 2023
1 parent d2bf9f7 commit 841cdbd
Show file tree
Hide file tree
Showing 12 changed files with 1,089 additions and 1,529 deletions.
168 changes: 84 additions & 84 deletions mozfun/bits28/index.html

Large diffs are not rendered by default.

480 changes: 240 additions & 240 deletions mozfun/event_analysis/index.html

Large diffs are not rendered by default.

310 changes: 155 additions & 155 deletions mozfun/glam/index.html

Large diffs are not rendered by default.

78 changes: 39 additions & 39 deletions mozfun/glean/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2880,11 +2880,11 @@
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

<li class="md-nav__item">
<a href="#timespan_seconds-udf" class="md-nav__link">
timespan_seconds (UDF)
<a href="#legacy_compatible_experiments-udf" class="md-nav__link">
legacy_compatible_experiments (UDF)
</a>

<nav class="md-nav" aria-label="timespan_seconds (UDF)">
<nav class="md-nav" aria-label="legacy_compatible_experiments (UDF)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand All @@ -2900,11 +2900,11 @@
</li>

<li class="md-nav__item">
<a href="#legacy_compatible_experiments-udf" class="md-nav__link">
legacy_compatible_experiments (UDF)
<a href="#parse_datetime-udf" class="md-nav__link">
parse_datetime (UDF)
</a>

<nav class="md-nav" aria-label="legacy_compatible_experiments (UDF)">
<nav class="md-nav" aria-label="parse_datetime (UDF)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand All @@ -2920,11 +2920,11 @@
</li>

<li class="md-nav__item">
<a href="#parse_datetime-udf" class="md-nav__link">
parse_datetime (UDF)
<a href="#timespan_nanos-udf" class="md-nav__link">
timespan_nanos (UDF)
</a>

<nav class="md-nav" aria-label="parse_datetime (UDF)">
<nav class="md-nav" aria-label="timespan_nanos (UDF)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand All @@ -2940,11 +2940,11 @@
</li>

<li class="md-nav__item">
<a href="#timespan_nanos-udf" class="md-nav__link">
timespan_nanos (UDF)
<a href="#timespan_seconds-udf" class="md-nav__link">
timespan_seconds (UDF)
</a>

<nav class="md-nav" aria-label="timespan_nanos (UDF)">
<nav class="md-nav" aria-label="timespan_seconds (UDF)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand Down Expand Up @@ -3442,11 +3442,11 @@
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

<li class="md-nav__item">
<a href="#timespan_seconds-udf" class="md-nav__link">
timespan_seconds (UDF)
<a href="#legacy_compatible_experiments-udf" class="md-nav__link">
legacy_compatible_experiments (UDF)
</a>

<nav class="md-nav" aria-label="timespan_seconds (UDF)">
<nav class="md-nav" aria-label="legacy_compatible_experiments (UDF)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand All @@ -3462,11 +3462,11 @@
</li>

<li class="md-nav__item">
<a href="#legacy_compatible_experiments-udf" class="md-nav__link">
legacy_compatible_experiments (UDF)
<a href="#parse_datetime-udf" class="md-nav__link">
parse_datetime (UDF)
</a>

<nav class="md-nav" aria-label="legacy_compatible_experiments (UDF)">
<nav class="md-nav" aria-label="parse_datetime (UDF)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand All @@ -3482,11 +3482,11 @@
</li>

<li class="md-nav__item">
<a href="#parse_datetime-udf" class="md-nav__link">
parse_datetime (UDF)
<a href="#timespan_nanos-udf" class="md-nav__link">
timespan_nanos (UDF)
</a>

<nav class="md-nav" aria-label="parse_datetime (UDF)">
<nav class="md-nav" aria-label="timespan_nanos (UDF)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand All @@ -3502,11 +3502,11 @@
</li>

<li class="md-nav__item">
<a href="#timespan_nanos-udf" class="md-nav__link">
timespan_nanos (UDF)
<a href="#timespan_seconds-udf" class="md-nav__link">
timespan_seconds (UDF)
</a>

<nav class="md-nav" aria-label="timespan_nanos (UDF)">
<nav class="md-nav" aria-label="timespan_seconds (UDF)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand Down Expand Up @@ -3538,23 +3538,11 @@

<h1 id="glean">glean</h1>
<p>Functions for working with Glean data.</p>
<h2 id="timespan_seconds-udf">timespan_seconds (UDF)</h2>
<p>Returns the number of seconds represented by a Glean timespan struct,
rounded down to full seconds.</p>
<p>See <a href="https://mozilla.github.io/glean/book/user/metrics/timespan.html">https://mozilla.github.io/glean/book/user/metrics/timespan.html</a></p>
<h3 id="parameters">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>timespan STRUCT&lt;time_unit STRING, value INT64&gt;
</code></pre></div>
<p><strong>OUTPUTS</strong></p>
<div class="highlight"><pre><span></span><code>INT64
</code></pre></div>
<p><a href="https://github.com/mozilla/bigquery-etl/blob/generated-sql/sql//mozfun/glean/timespan_seconds">Source</a> | <a href="https://github.com/mozilla/bigquery-etl/edit/generated-sql/sql//mozfun/glean/timespan_seconds/metadata.yaml">Edit</a></p>
<h2 id="legacy_compatible_experiments-udf">legacy_compatible_experiments (UDF)</h2>
<p>Formats a Glean experiments field into a Legacy Telemetry experiments field by dropping the extra information that Glean collects</p>
<p>This UDF transforms the <code>ping_info.experiments</code> field from Glean pings into the format for <code>experiments</code> used by Legacy Telemetry pings. In particular, it drops the exta information that Glean pings collect.</p>
<p>If you need to combine Glean data with Legacy Telemetry data, then you can use this UDF to transform a Glean experiments field into the structure of a Legacy Telemetry one.</p>
<h3 id="parameters_1">Parameters</h3>
<h3 id="parameters">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>ping_info__experiments ARRAY&lt;STRUCT&lt;key STRING, value STRUCT&lt;branch STRING, extra STRUCT&lt;type STRING, enrollment_id STRING&gt;&gt;&gt;&gt;
</code></pre></div>
Expand All @@ -3565,7 +3553,7 @@ <h3 id="parameters_1">Parameters</h3>
<h2 id="parse_datetime-udf">parse_datetime (UDF)</h2>
<p>Parses a Glean datetime metric string value as a BigQuery timestamp.</p>
<p>See <a href="https://mozilla.github.io/glean/book/reference/metrics/datetime.html">https://mozilla.github.io/glean/book/reference/metrics/datetime.html</a></p>
<h3 id="parameters_2">Parameters</h3>
<h3 id="parameters_1">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>datetime_string STRING
</code></pre></div>
Expand All @@ -3576,14 +3564,26 @@ <h3 id="parameters_2">Parameters</h3>
<h2 id="timespan_nanos-udf">timespan_nanos (UDF)</h2>
<p>Returns the number of nanoseconds represented by a Glean timespan struct.</p>
<p>See <a href="https://mozilla.github.io/glean/book/user/metrics/timespan.html">https://mozilla.github.io/glean/book/user/metrics/timespan.html</a></p>
<h3 id="parameters_3">Parameters</h3>
<h3 id="parameters_2">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>timespan STRUCT&lt;time_unit STRING, value INT64&gt;
</code></pre></div>
<p><strong>OUTPUTS</strong></p>
<div class="highlight"><pre><span></span><code>INT64
</code></pre></div>
<p><a href="https://github.com/mozilla/bigquery-etl/blob/generated-sql/sql//mozfun/glean/timespan_nanos">Source</a> | <a href="https://github.com/mozilla/bigquery-etl/edit/generated-sql/sql//mozfun/glean/timespan_nanos/metadata.yaml">Edit</a></p>
<h2 id="timespan_seconds-udf">timespan_seconds (UDF)</h2>
<p>Returns the number of seconds represented by a Glean timespan struct,
rounded down to full seconds.</p>
<p>See <a href="https://mozilla.github.io/glean/book/user/metrics/timespan.html">https://mozilla.github.io/glean/book/user/metrics/timespan.html</a></p>
<h3 id="parameters_3">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>timespan STRUCT&lt;time_unit STRING, value INT64&gt;
</code></pre></div>
<p><strong>OUTPUTS</strong></p>
<div class="highlight"><pre><span></span><code>INT64
</code></pre></div>
<p><a href="https://github.com/mozilla/bigquery-etl/blob/generated-sql/sql//mozfun/glean/timespan_seconds">Source</a> | <a href="https://github.com/mozilla/bigquery-etl/edit/generated-sql/sql//mozfun/glean/timespan_seconds/metadata.yaml">Edit</a></p>



Expand Down
Loading

0 comments on commit 841cdbd

Please sign in to comment.