Skip to content

hot fix #4491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 28, 2023
Merged

hot fix #4491

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/engage/user-subscriptions/subscription-sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ To use Subscriptions with SQL Traits, you need the following:

## Sync subscription data with SQL

You can sync with SQL from two locations in the Segment app. Navigate to **Profiles > Profile explorer** or **Engage > Audiences > Profile explorer**, then:
You can sync with SQL from two locations in the Segment app. Navigate to **Unify > Profile explorer** or **Engage > Audiences > Profile explorer**, then:

1. Click **Manage subscription statuses**, and select **Update subscription statuses**.
2. Select **Sync with SQL**, and click **Configure**.
Expand Down Expand Up @@ -64,7 +64,7 @@ You can schedule sync intervals to import subscription data from your warehouse

Use the Update History page to view all SQL jobs.

1. Navigate to **Profiles > Profile explorer** or **Engage > Audiences > Profile explorer.**
1. Navigate to **Unify > Profile explorer** or **Engage > Audiences > Profile explorer.**
2. Click **Manage subscription statuses**.
3. Select **View update history**, then select the **SQL Jobs** tab.

Expand All @@ -76,7 +76,7 @@ When you build your SQL query, keep the following requirements in mind for the d

**Your query must:**

- Return at least one column with `user_id`, `anonymous_id`, `email`, `phone` (or `group_id` for account traits if Profiles for B2B is enabled).
- Return at least one column with `user_id`, `anonymous_id`, `email`, `phone` (or `group_id` for account traits if Unify for B2B is enabled).
- Return records less than 16KB in size.

**Your query must not:**
Expand Down
3 changes: 3 additions & 0 deletions src/unify/profiles-sync/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ To start seeing unified profiles in your warehouse and build attribution models,

Please visit [Tables you materialize](/docs/unify/profiles-sync/tables/#tables-you-materialize) for more on how to materialize these views either on your own, or with [Segment's open source dbt models](https://github.com/segmentio/profiles-sync-dbt){:target="blank"}.

> warning ""
> Please note that dbt models are in beta and need modifications to run efficiently on BigQuery, Synapse, and Postgres warehouses. Segment is actively working on this feature.

## Profiles Sync limits

As you use Profiles Sync, please keep the following limits in mind:
Expand Down
5 changes: 4 additions & 1 deletion src/unify/profiles-sync/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ Profiles Sync uses the following schema: `<profiles_space_name>.<tableName>`.

If your space has the same name as a source connected to your Segment Warehouse destination, Segment overwrites data to the Event tables.

{% comment %} (commenting out ERD draft for now)
{% comment %} (commenting out ERD draft for now)

> success ""
> For more on Profiles Sync logic, table mappings, and data types, download this [Profiles Sync ERD](/docs/unify/files/ERD.png) or visit [schema evolution and compatibility](/docs/connections/storage/warehouses/schema/#schema-evolution-and-compatibility).
Expand All @@ -190,6 +190,9 @@ Follow the steps below to change your schema name:
> info "dbt model definitions package"
> To get started with your table materializations, try Segment's [open-source dbt models](https://github.com/segmentio/profiles-sync-dbt){:target="_blank"}, or materialize views with your own tools.

> warning ""
> Please note that dbt models are in beta and need modifications to run efficiently on BigQuery, Synapse, and Postgres warehouses. Segment is actively working on this feature.

Every customer profile (or `canonical_segment_id`) will be represented in each of the following tables.

### `id_graph` table
Expand Down