Skip to content

Commit

Permalink
Merge pull request #8404 from braze-inc/add-cue-events
Browse files Browse the repository at this point in the history
[NOTIX] Add in new datalake schemas from latest CUE upgrade
  • Loading branch information
josh-mccrowell-braze authored Nov 14, 2024
2 parents 8186603 + 630f5fd commit 935db0a
Showing 1 changed file with 65 additions and 5 deletions.
70 changes: 65 additions & 5 deletions assets/download_file/data-sharing-raw-table-schemas.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

USERS_BEHAVIORS_APP_FIRSTSESSION_SHARED: when a user has their first session
ID (VARCHAR(16777216))
USER_ID (VARCHAR(16777216))
Expand All @@ -19,6 +18,26 @@ USERS_BEHAVIORS_APP_FIRSTSESSION_SHARED: when a user has their first session
DEVICE_MODEL (VARCHAR(16777216))
SF_CREATED_AT (TIMESTAMP_LTZ(9))

USERS_CANVASSTEP_PROGRESSION_SHARED: Progression events for a user within a canvas
ID (VARCHAR(16777216))
USER_ID (VARCHAR(16777216))
EXTERNAL_USER_ID (VARCHAR(16777216))
DEVICE_ID (VARCHAR(16777216))
APP_GROUP_ID (VARCHAR(16777216))
APP_GROUP_API_ID (VARCHAR(16777216))
TIME (NUMBER(38,0))
CANVAS_ID (VARCHAR(16777216))
CANVAS_API_ID (VARCHAR(16777216))
CANVAS_VARIATION_API_ID (VARCHAR(16777216))
CANVAS_STEP_API_ID (VARCHAR(16777216))
PROGRESSION_TYPE (VARCHAR(16777216))
IS_CANVAS_ENTRY (BOOLEAN)
EXIT_REASON (VARCHAR(16777216))
CANVAS_ENTRY_ID (VARCHAR(16777216))
NEXT_STEP_ID (VARCHAR(16777216))
NEXT_STEP_API_ID (VARCHAR(16777216))
SF_CREATED_AT (TIMESTAMP_NTZ(9))

USERS_BEHAVIORS_APP_NEWSFEEDIMPRESSION_SHARED: when a user views the news feed
ID (VARCHAR(16777216))
USER_ID (VARCHAR(16777216))
Expand Down Expand Up @@ -439,7 +458,7 @@ USERS_CANVAS_EXPERIMENTSTEP_SPLITENTRY_SHARED: when a user enters an experiment
IN_CONTROL_GROUP (BOOLEAN)
SF_CREATED_AT (TIMESTAMP_LTZ(9))

USERS_CANVAS_FREQUENCYCAP_SHARED: when a user gets frequency capped for a Canvas step
USERS_CANVAS_FREQUENCYCAP_SHARED: when a user gets frequency capped for a campaign
ID (VARCHAR(16777216))
USER_ID (VARCHAR(16777216))
EXTERNAL_USER_ID (VARCHAR(16777216))
Expand Down Expand Up @@ -1069,7 +1088,7 @@ USERS_MESSAGES_NEWSFEEDCARD_CLICK_SHARED: when a user clicks a news feed card
BROWSER (VARCHAR(16777216))
SF_CREATED_AT (TIMESTAMP_LTZ(9))

USERS_MESSAGES_NEWSFEEDCARD_IMPRESSION_SHARED: when a user views a a news feed card
USERS_MESSAGES_NEWSFEEDCARD_IMPRESSION_SHARED: when a user views a news feed card
ID (VARCHAR(16777216))
USER_ID (VARCHAR(16777216))
EXTERNAL_USER_ID (VARCHAR(16777216))
Expand Down Expand Up @@ -1690,7 +1709,7 @@ USERS_MESSAGES_WHATSAPP_SEND_SHARED: when a WhatsApp message is sent to Meta
MESSAGE_EXTRAS (VARCHAR(16777216))
SF_CREATED_AT (TIMESTAMP_NTZ(9))

USERS_RANDOMBUCKETNUMBERUPDATE_SHARED: A users current and previous random bucket number at the time it is changed
USERS_RANDOMBUCKETNUMBERUPDATE_SHARED: A user's current and previous random bucket number at the time it is changed
ID (VARCHAR(16777216))
APP_GROUP_ID (VARCHAR(16777216))
APP_GROUP_API_ID (VARCHAR(16777216))
Expand All @@ -1709,7 +1728,7 @@ USERS_USERDELETEREQUEST_SHARED: when a user is deleted by customer request
TIME (NUMBER(38,0))
SF_CREATED_AT (TIMESTAMP_LTZ(9))

USERS_USERORPHAN_SHARED: when a user is orphaned, meaning the user is merged with another users profile
USERS_USERORPHAN_SHARED: when a user is orphaned, meaning the user is merged with another user's profile
ID (VARCHAR(16777216))
USER_ID (VARCHAR(16777216))
EXTERNAL_USER_ID (VARCHAR(16777216))
Expand All @@ -1721,6 +1740,47 @@ USERS_USERORPHAN_SHARED: when a user is orphaned, meaning the user is merged wit
ORPHANED_BY_ID (VARCHAR(16777216))
SF_CREATED_AT (TIMESTAMP_LTZ(9))

CHANGELOGS_GLOBALCONTROLGROUP_SHARED: This event occurs when a random bucket number is added or removed from the Global Control Group, and can be used to identify which random bucket numbers are in the current and previous Global Control Group. To identify specific users in the Global Control group, you can join this data with data from the random bucket number event. Note that when enabling a Global Control Group, GLOBAL_CONTROL_GROUP column will be false or partially true (depending on prior Global Control setup), and PREVIOUS_GLOBAL_CONTROL_GROUP will all be false. When disabling a Global Control Group, GLOBAL_CONTROL_GROUP column will all be false, and PREVIOUS_GLOBAL_CONTROL_GROUP will be false or partially true (depending on prior Global Control Group setup).
ID (VARCHAR(16777216))
APP_GROUP_ID (VARCHAR(16777216))
APP_GROUP_API_ID (VARCHAR(16777216))
TIME (NUMBER(38,0))
RANDOM_BUCKET_NUMBER (NUMBER(38,0))
GLOBAL_CONTROL_GROUP (BOOLEAN)
PREVIOUS_GLOBAL_CONTROL_GROUP (BOOLEAN)
SF_CREATED_AT (TIMESTAMP_NTZ(9))

USERS_MESSAGES_FEATUREFLAG_IMPRESSION_SHARED: when a user views an feature flag
ID (VARCHAR(16777216))
APP_API_ID (VARCHAR(16777216))
APP_GROUP_ID (VARCHAR(16777216))
APP_GROUP_API_ID (VARCHAR(16777216))
CAMPAIGN_API_ID (VARCHAR(16777216))
CAMPAIGN_ID (VARCHAR(16777216))
CANVAS_API_ID (VARCHAR(16777216))
CANVAS_ID (VARCHAR(16777216))
CANVAS_STEP_API_ID (VARCHAR(16777216))
CANVAS_STEP_MESSAGE_VARIATION_API_ID (VARCHAR(16777216))
CANVAS_VARIATION_API_ID (VARCHAR(16777216))
FEATURE_FLAG_ID_NAME (VARCHAR(16777216))
MESSAGE_VARIATION_API_ID (VARCHAR(16777216))
EXTERNAL_USER_ID (VARCHAR(16777216))
DEVICE_ID (VARCHAR(16777216))
TIME (NUMBER(38,0))
GENDER (VARCHAR(16777216))
BROWSER (VARCHAR(16777216))
CARRIER (VARCHAR(16777216))
COUNTRY (VARCHAR(16777216))
DEVICE_MODEL (VARCHAR(16777216))
LANGUAGE (VARCHAR(16777216))
OS_VERSION (VARCHAR(16777216))
PLATFORM (VARCHAR(16777216))
RESOLUTION (VARCHAR(16777216))
SDK_VERSION (VARCHAR(16777216))
TIMEZONE (VARCHAR(16777216))
USER_ID (VARCHAR(16777216))
SF_CREATED_AT (TIMESTAMP_NTZ(9))

CHANGELOGS_CAMPAIGN_SHARED:
ID (VARCHAR(16777216))
TIME (NUMBER(38,0))
Expand Down

0 comments on commit 935db0a

Please sign in to comment.