Skip to content

Commit

Permalink
Update common.libsonnet
Browse files Browse the repository at this point in the history
  • Loading branch information
emre committed Apr 5, 2021
1 parent 49d45fb commit c33ad62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ local predefined = import 'predefined.jsonnet';
type: 'timestamp',
},
days_since_signup: {
sql: 'TIMESTAMP_DIFF({{dimension.user_first_touch}}, {{dimension.event_timestamp}}, DAY)',
sql: 'TIMESTAMP_DIFF({{dimension.event_timestamp}}, {{dimension.user_first_touch}}, DAY)',
type: 'integer',
},
weeks_since_signup: {
sql: 'TIMESTAMP_DIFF({{dimension.user_first_touch}}, {{dimension.event_timestamp}}, WEEK)',
sql: 'TIMESTAMP_DIFF({{dimension.event_timestamp}}, {{dimension.user_first_touch}}, WEEK)',
type: 'integer',
},
firebase_user_id: {
Expand Down

0 comments on commit c33ad62

Please sign in to comment.