Skip to content

Commit 996f754

Browse files
authored
Merge pull request #7464 from segmentio/DOC-1058
Data Graph docs fix traits to trait
2 parents d6217e0 + 0debbb0 commit 996f754

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unify/data-graph/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ data_graph {
116116
name = "Premium Accounts"
117117
related_entity = "account-entity"
118118
# Join the profile entity with an identifier (e.g. email) on the related entity table
119-
# Option to replace with the traits block below to join with a profile trait on the entity table instead
119+
# Option to replace with the trait block below to join with a profile trait on the entity table instead
120120
external_id {
121121
type = "email"
122122
join_key = "EMAIL_ID"
@@ -247,7 +247,7 @@ To define a profile-to-entity relationship, reference your entity table and depe
247247
- [Unmaterialized](/docs/unify/profiles-sync/tables/#the-external_id_mapping_updates-table): This corresponds to the `external_id_type` column in your Profiles Sync `external_id_mapping_updates` table.
248248
- `join_key`: This is the column on the entity table that you are matching to the external identifier.
249249

250-
**Option 2 - Join on a profile trait:** Use the `traits` block to join the profile entity with an entity table using [Profile Traits](/docs/unify/#enrich-profiles-with-traits).
250+
**Option 2 - Join on a profile trait:** Use the `trait` block to join the profile entity with an entity table using [Profile Traits](/docs/unify/#enrich-profiles-with-traits).
251251
- `name`: Represents a trait name in your Unify profiles. Depending on if you are using materialized or unmaterialized profiles, these correspond to different columns in your Profiles Sync warehouse tables:
252252
- [Materialized](/docs/unify/profiles-sync/tables/#the-profile_traits-table) (Recommended): The trait name corresponds to a unique value of the `name` column in your Profiles Sync `user_traits` table.
253253
- [Unmaterialized](/docs/unify/profiles-sync/tables/#the-profile_traits_updates-table): This corresponds to a column in the Profile Sync `profile_trait_updates` table.

0 commit comments

Comments
 (0)