Skip to content

Commit 3795daf

Browse files
authored
Merge pull request #7879 from segmentio/audit-profile-sync-tables-views
Profiles Syncs review [DOC-1204]
2 parents ec72241 + ab0423d commit 3795daf

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/unify/profiles-sync/tables.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ The `Timestamp` column will be empty for backfilled data because, during backfil
113113

114114
The `id_graph_updates` table maps between the following:
115115

116-
- `segment_id`: the profile ID that Segment appends to an event or an identifier at the time it was first observed
117-
- `canonical_segment_id`: the fully-merged segment ID (that is, the profile Segment now understands any events or identifiers to map to)
116+
- `segment_id`: the profile ID that Segment appends to an event or an identifier at the time it was first observed.
117+
- `canonical_segment_id`: the fully-merged segment ID (the profile Segment now understands any events or identifiers to map to).
118118

119119
As a result, this table contains information about the creation and merging of profiles, as well as the specific events that triggered those changes.
120120

@@ -130,14 +130,14 @@ Using the events from the profile merge case study, Segment would generate three
130130

131131
</div>
132132

133-
In this example, the table shows `profile_2` mapping to two places: first to itself, then, later, to `profile_1` after the merge occurs.
133+
In this example, the table shows `profile_2` mapping to two places: first to itself, then to `profile_1` after the merge occurs.
134134

135135

136136
#### Recursive entries
137137

138138
Segment shows the complete history of every profile. If, later, `profile_1` merges into a different `profile_0`, Segment adds recursive entries to show that `profile_1` and `profile_2` both map to `profile_0`. These entries give you a comprehensive history of all profiles that ever existed.
139139

140-
If you’ll use Profiles Sync to build models, refer to the `id_graph` model, which can help you put together a complete view of a customer.
140+
If you use Profiles Sync to build models, refer to the `id_graph` model, which can help you put together a complete view of a customer.
141141

142142
### The external_id_mapping_updates table
143143

@@ -196,7 +196,7 @@ Event type tables provide a complete history for each type of event. Segment syn
196196
Identity Resolution processes these events, and includes a `segment_id`, enabling the data to be joined into a single Profile record.
197197

198198
> success ""
199-
> Event type tables have 2 months of historical data on backfill. Contact support if you need access to data beyond this period.
199+
> Event type tables have two months of historical data on backfill. Contact [Segment support](https://segment.com/help/contact/){:target="_blank"} if you need access to data beyond this period.
200200
201201
Event type tables includes the following tables:
202202

@@ -213,7 +213,7 @@ These event tables are similar to the tables landed by Segment warehouse integra
213213
- Events are combined in a single schema. For example, if you have three sources going into a single space, Segment produces one schema, not three.
214214
- These tables have two extra columns:
215215
* `segment_id`: the profile ID at the time the event came through. That profile may have since merged.
216-
* `event_source_id`: the specific source ID of the incoming event
216+
* `event_source_id`: the specific source ID of the incoming event.
217217

218218
The previous result would generate two entries in the `pages` table:
219219

@@ -305,7 +305,7 @@ If you're not using materialized views for Profile Sync and would like to switch
305305
- Once the backfill is complete, review the data in your warehouse to confirm all necessary historical information has been included.
306306

307307
> warning ""
308-
> For materialized view tables, you must have delete permissions for your data warehouse.
308+
> For materialized view tables, you must delete permissions for your data warehouse.
309309
310310
### Why materialized views?
311311

@@ -317,7 +317,7 @@ Materialized views offer several advantages:
317317

318318
### The user_traits table
319319

320-
With the `user_traits` table, you'll see all traits that belong to a profile, represented by the `canonical_segment_id`. Use this table for a complete picture of your Profiles Sync data with external data sources such as customer purchase history, product usage, and more.
320+
The `user_traits` table lists all traits that belong to a profile, represented by the `canonical_segment_id`. Use this table for a complete picture of your Profiles Sync data with external data sources such as customer purchase history, product usage, and more.
321321

322322
- This view is a fixed schema, and contains a row for each trait associated with the profile.
323323
- As new traits are added to the profile, new rows are added to the table.

0 commit comments

Comments
 (0)