Convert a bit pattern into an array of the dates is represents.
+Convert a string representing individual bits into an INT64.
+bits INT64, submission_date DATE
+
OUTPUTS
-ARRAY<DATE>
+
-Source | Edit
+Source | Edit
range (UDF)
Return an INT64 representing a range of bits from a source bit pattern.
The start_offset must be zero or a negative number indicating an offset from
@@ -3747,19 +3748,14 @@
Parameters
Source | Edit
-from_string (UDF)
-Convert a string representing individual bits into an INT64.
-Implementation based on https://stackoverflow.com/a/51600210/1260237
-See detailed docs for the bits28 suite of functions:
-https://docs.telemetry.mozilla.org/cookbooks/clients_last_seen_bits.html#udf-reference
+retention (UDF)
+Return a nested struct providing booleans indicating whether a given client
+was active various time periods based on the passed bit pattern.
Parameters
INPUTS
-
-OUTPUTS
-INT64
+bits INT64, submission_date DATE
-Source | Edit
+Source | Edit
days_since_seen (UDF)
Return the position of the rightmost set bit in an INT64 bit pattern.
To determine this position, we take a bitwise AND of the bit pattern and
@@ -3799,14 +3795,18 @@
Parameters
Source | Edit
-retention (UDF)
-Return a nested struct providing booleans indicating whether a given client
-was active various time periods based on the passed bit pattern.
+to_dates (UDF)
+Convert a bit pattern into an array of the dates is represents.
+See detailed docs for the bits28 suite of functions:
+https://docs.telemetry.mozilla.org/cookbooks/clients_last_seen_bits.html#udf-reference
Parameters
INPUTS
bits INT64, submission_date DATE
-Source | Edit
+OUTPUTS
+
+Source | Edit
active_in_range (UDF)
Return a boolean indicating if any bits are set in the specified range
of a bit pattern. The start_offset
must be zero or a negative number
diff --git a/mozfun/bytes/index.html b/mozfun/bytes/index.html
index a2014b463b7..a210609c5c9 100644
--- a/mozfun/bytes/index.html
+++ b/mozfun/bytes/index.html
@@ -2820,11 +2820,11 @@
-
-
- extract_bits (UDF)
+
+ bit_pos_to_byte_pos (UDF)
-