Skip to content

Commit

Permalink
[ci skip] Deployed 150db27 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Nov 21, 2023
1 parent 7bd5a40 commit f5257ef
Show file tree
Hide file tree
Showing 9 changed files with 498 additions and 538 deletions.
180 changes: 90 additions & 90 deletions mozfun/bits28/index.html

Large diffs are not rendered by default.

344 changes: 172 additions & 172 deletions mozfun/event_analysis/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 @@ -2960,11 +2960,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 @@ -2980,11 +2980,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 @@ -3000,11 +3000,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 @@ -3020,11 +3020,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 @@ -3522,11 +3522,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 @@ -3542,11 +3542,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 @@ -3562,11 +3562,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 @@ -3582,11 +3582,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 @@ -3618,23 +3618,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 @@ -3645,7 +3633,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 @@ -3656,14 +3644,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 f5257ef

Please sign in to comment.