Skip to content

Commit

Permalink
[ci skip] Deployed d484a56 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Nov 28, 2023
1 parent 0e547bc commit 7dd87e7
Show file tree
Hide file tree
Showing 15 changed files with 1,542 additions and 1,097 deletions.
9 changes: 7 additions & 2 deletions mozdata/mozilla_org/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3760,9 +3760,14 @@ <h2 id="ga_sessions"><a href="#ga_sessions">ga_sessions</a></h2>
<p><a href="https://github.com/mozilla/bigquery-etl/blob/generated-sql/sql/moz-fx-data-shared-prod/mozilla_org/ga_sessions">Source Directory</a> | <a href="https://github.com/mozilla/bigquery-etl/blob/generated-sql/sql/moz-fx-data-shared-prod/mozilla_org/ga_sessions/view.sql">View Definition</a> | <a href="https://github.com/mozilla/bigquery-etl/blob/generated-sql/sql/moz-fx-data-shared-prod/mozilla_org/ga_sessions/metadata.yaml">Metadata File</a> </p>
<hr />
<h2 id="gclid_conversions"><a href="#gclid_conversions">gclid_conversions</a></h2>
<p><strong>Gclid Conversions</strong></p>
<p><strong>Gclid Conversions V1</strong></p>
<p><code>mozilla_org.gclid_conversions</code></p>
<p>Please provide a description for the query</p>
<p>1-row per conversion. Provides conversion events to
send to Google Ads.</p>
<ul>
<li>Owners:<p>- <a href="mailto:frank@mozilla.com">frank@mozilla.com</a></p>
</li>
</ul>
<table>
<caption>Schema</caption>
<tr>
Expand Down
206 changes: 103 additions & 103 deletions mozfun/bits28/index.html

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions mozfun/bytes/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="#extract_bits-udf" class="md-nav__link">
extract_bits (UDF)
<a href="#zero_right-udf" class="md-nav__link">
zero_right (UDF)
</a>

<nav class="md-nav" aria-label="extract_bits (UDF)">
<nav class="md-nav" aria-label="zero_right (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="#zero_right-udf" class="md-nav__link">
zero_right (UDF)
<a href="#bit_pos_to_byte_pos-udf" class="md-nav__link">
bit_pos_to_byte_pos (UDF)
</a>

<nav class="md-nav" aria-label="zero_right (UDF)">
<nav class="md-nav" aria-label="bit_pos_to_byte_pos (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="#bit_pos_to_byte_pos-udf" class="md-nav__link">
bit_pos_to_byte_pos (UDF)
<a href="#extract_bits-udf" class="md-nav__link">
extract_bits (UDF)
</a>

<nav class="md-nav" aria-label="bit_pos_to_byte_pos (UDF)">
<nav class="md-nav" aria-label="extract_bits (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="#extract_bits-udf" class="md-nav__link">
extract_bits (UDF)
<a href="#zero_right-udf" class="md-nav__link">
zero_right (UDF)
</a>

<nav class="md-nav" aria-label="extract_bits (UDF)">
<nav class="md-nav" aria-label="zero_right (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="#zero_right-udf" class="md-nav__link">
zero_right (UDF)
<a href="#bit_pos_to_byte_pos-udf" class="md-nav__link">
bit_pos_to_byte_pos (UDF)
</a>

<nav class="md-nav" aria-label="zero_right (UDF)">
<nav class="md-nav" aria-label="bit_pos_to_byte_pos (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="#bit_pos_to_byte_pos-udf" class="md-nav__link">
bit_pos_to_byte_pos (UDF)
<a href="#extract_bits-udf" class="md-nav__link">
extract_bits (UDF)
</a>

<nav class="md-nav" aria-label="bit_pos_to_byte_pos (UDF)">
<nav class="md-nav" aria-label="extract_bits (UDF)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand Down Expand Up @@ -3597,6 +3597,27 @@


<h1 id="bytes">bytes</h1>
<h2 id="zero_right-udf">zero_right (UDF)</h2>
<p>Zero bits on the right of byte</p>
<h3 id="parameters">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>b BYTES, length INT64
</code></pre></div>
<p><strong>OUTPUTS</strong></p>
<div class="highlight"><pre><span></span><code>BYTES
</code></pre></div>
<p><a href="https://github.com/mozilla/bigquery-etl/blob/generated-sql/sql//mozfun/bytes/zero_right">Source</a> | <a href="https://github.com/mozilla/bigquery-etl/edit/generated-sql/sql//mozfun/bytes/zero_right/metadata.yaml">Edit</a></p>
<h2 id="bit_pos_to_byte_pos-udf">bit_pos_to_byte_pos (UDF)</h2>
<p>Given a bit position, get the byte that bit appears in.
1-indexed (to match substr), and accepts negative values.</p>
<h3 id="parameters_1">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>bit_pos INT64
</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/bytes/bit_pos_to_byte_pos">Source</a> | <a href="https://github.com/mozilla/bigquery-etl/edit/generated-sql/sql//mozfun/bytes/bit_pos_to_byte_pos/metadata.yaml">Edit</a></p>
<h2 id="extract_bits-udf">extract_bits (UDF)</h2>
<p>Extract bits from a byte array. Roughly matches substr
with three arguments:
Expand All @@ -3611,35 +3632,14 @@ <h2 id="extract_bits-udf">extract_bits (UDF)</h2>
<p>Examples:
bytes.extract_bits(b'\x0F\xF0', 5, 8) = b'\xFF'
bytes.extract_bits(b'\x0C\xC0', -12, 8) = b'\xCC'</p>
<h3 id="parameters">Parameters</h3>
<h3 id="parameters_2">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>b BYTES, `begin` INT64, length INT64
</code></pre></div>
<p><strong>OUTPUTS</strong></p>
<div class="highlight"><pre><span></span><code>BYTES
</code></pre></div>
<p><a href="https://github.com/mozilla/bigquery-etl/blob/generated-sql/sql//mozfun/bytes/extract_bits">Source</a> | <a href="https://github.com/mozilla/bigquery-etl/edit/generated-sql/sql//mozfun/bytes/extract_bits/metadata.yaml">Edit</a></p>
<h2 id="zero_right-udf">zero_right (UDF)</h2>
<p>Zero bits on the right of byte</p>
<h3 id="parameters_1">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>b BYTES, length INT64
</code></pre></div>
<p><strong>OUTPUTS</strong></p>
<div class="highlight"><pre><span></span><code>BYTES
</code></pre></div>
<p><a href="https://github.com/mozilla/bigquery-etl/blob/generated-sql/sql//mozfun/bytes/zero_right">Source</a> | <a href="https://github.com/mozilla/bigquery-etl/edit/generated-sql/sql//mozfun/bytes/zero_right/metadata.yaml">Edit</a></p>
<h2 id="bit_pos_to_byte_pos-udf">bit_pos_to_byte_pos (UDF)</h2>
<p>Given a bit position, get the byte that bit appears in.
1-indexed (to match substr), and accepts negative values.</p>
<h3 id="parameters_2">Parameters</h3>
<p><strong>INPUTS</strong></p>
<div class="highlight"><pre><span></span><code>bit_pos INT64
</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/bytes/bit_pos_to_byte_pos">Source</a> | <a href="https://github.com/mozilla/bigquery-etl/edit/generated-sql/sql//mozfun/bytes/bit_pos_to_byte_pos/metadata.yaml">Edit</a></p>



Expand Down
Loading

0 comments on commit 7dd87e7

Please sign in to comment.