Skip to content

Commit 9ec8324

Browse files
committed
Editing pass + added images
1 parent b4c39a7 commit 9ec8324

File tree

6 files changed

+15
-11
lines changed

6 files changed

+15
-11
lines changed

src/connections/storage/warehouses/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ If you're in the EU region, use CIDR `3.251.148.96/29`.
6767
> info ""
6868
> EU workspace regions are currently in beta. If you would like to learn more about the beta, please contact your account manager.
6969
70-
BigQuery does not require whitelisting an IP address. To learn how to set up BigQuery, check out Segment's BigQuery [set up guide](/docs/connections/storage/catalog/bigquery/#getting-started)
70+
BigQuery does not require allowlisting an IP address. To learn how to set up BigQuery, check out Segment's BigQuery [set up guide](/docs/connections/storage/catalog/bigquery/#getting-started)
7171

7272

7373
## Will Segment sync my historical data?
95.5 KB
Loading
212 KB
Loading

src/connections/storage/warehouses/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Examples of data warehouses include Amazon Redshift, Google BigQuery, and Postgr
2222

2323
{% include content/how-a-sync-works.md %}
2424

25+
![](images/how-a-sync-works.png)
26+
2527
<div data-headings-anchors id="warehouse-schemas"></div>
2628
> info "Looking for the Warehouse Schemas docs?"
2729
> They've moved! Check them out [here](schema/).
@@ -52,7 +54,7 @@ Check out our [Frequently Asked Questions about Warehouses](/docs/connections/st
5254

5355
[How do I create a user, grant usage on a schema and then grant the privileges that the user will need to interact with that schema?](/docs/connections/storage/warehouses/add-warehouse-users/)
5456

55-
[Which IPs should I whitelist?](/docs/connections/storage/warehouses/faq/#which-ips-should-i-whitelist)
57+
[Which IPs should I allowlist?](/docs/connections/storage/warehouses/faq/#which-ips-should-i-whitelist)
5658

5759
[Will Segment sync my historical data?](/docs/connections/storage/warehouses/faq/#will-segment-sync-my-historical-data)
5860

src/connections/storage/warehouses/redshift-useful-sql.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
---
22
title: Useful SQL Queries for Redshift
33
---
4-
Below you'll find a library of some of the most useful SQL queries customers use in their Redshift warehouses. You can run these right in your Redshift instance with little to no modification.
4+
Below you'll find a library of some of the most useful SQL queries customers use in their Redshift warehouses. You can run these right in your Redshift instance with little to no modification.
5+
6+
You can use SQL queries for the following tasks:
7+
- [Tracking events](#tracking-events)
8+
- [Defining sessions](#defining-sessions)
9+
- [Identifying users](#identifying-users)
10+
- [Groups to accounts](#groups-to-accounts)
511

612
> note " "
713
> If you're looking for SQL queries for warehouses other than Redshift, check out some of Segment's [Analyzing with SQL guides](/docs/connections/storage/warehouses/index/#analyzing-with-sql).
@@ -42,13 +48,7 @@ where event = 'completed_order'
4248

4349
That SQL query returns a table that looks like this:
4450

45-
| event | event_id | user_id | sent_at | item | color | size | payment |
46-
| --------------- | -------- | ---------- | ------------------- | ----- | ------ | ------ | ----------- |
47-
| completed_order | jrse3pyf | BQ9R7u4NA9 | 2021-12-09 03:50:00 | pants | blue | 32x33 | credit card |
48-
| completed_order | cxntjkc7 | TQ9D7x4NA4 | 2021-12-09 02:50:01 | pants | green | 31x33 | credit card |
49-
| completed_order | xjuvaely | APR97u8NB9 | 2021-12-09 01:50:39 | shirt | red | Medium | credit card |
50-
| completed_order | rft31ial | ly3jaeillp | 2021-12-09 08:50:13 | shirt | yellow | Large | credit card |
51-
| completed_order | k8bhgc6h | X9G5Qg0tha | 2021-12-09 07:20:19 | shirt | yellow | Small | paypal |
51+
![](images/sql-redshift-table-1.jpg)
5252

5353
But why are there columns in the table that weren't a part of the track call, like `event_id`?
5454
This is because the track method (for client-side libraries) automatically includes additional properties of the event, like `event_id`, `sent_at`, and `user_id`!
@@ -259,7 +259,7 @@ The `group` method ties a user to a group. It also lets you record custom traits
259259
Here’s what a basic `group` call looks like:
260260

261261
```javascript
262-
analytics.group'0e8c78ea9d97a7b8185e8632', {
262+
analytics.group('0e8c78ea9d97a7b8185e8632', {
263263
name: 'Initech',
264264
industry: 'Technology',
265265
employees: 329,

src/connections/storage/warehouses/warehouse-syncs.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ Instead of constantly streaming data to the warehouse destination, Segment loads
1111

1212
{% include content/how-a-sync-works.md %}
1313

14+
![](images/how-a-sync-works.png)
15+
1416
Warehouses sync with all data coming from your source. However, Business plan members can manage the data that is sent to their warehouses using [Selective Sync](#warehouse-selective-sync).
1517

1618
## Sync Frequency

0 commit comments

Comments
 (0)