Skip to content

Commit

Permalink
renaming missing form_factor values to 'Unidentified' (#2922)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie-costanzo authored Aug 24, 2023
1 parent 841cbcc commit fbfe376
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion warehouse/models/mart/payments/fct_payments_rides_v2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,12 @@ join_table AS (
fct_payments_rides_v2 AS (
SELECT

*,
* EXCEPT(form_factor),
CASE
WHEN form_factor IS NULL THEN 'Unidentified'
WHEN form_factor = '' THEN 'Unidentified'
ELSE form_factor
END AS form_factor,
DATETIME_DIFF(
off_transaction_date_time_pacific,
transaction_date_time_pacific,
Expand Down

0 comments on commit fbfe376

Please sign in to comment.