Skip to content

Commit 7390d77

Browse files
Apply suggestions from code review
1 parent 206e15a commit 7390d77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/connections/storage/warehouses/schema.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,9 @@ All four timestamps pass through to your Warehouse for every ETL'd event. In mos
453453
`received_at` is UTC timestamp set by the Segment API when the API receives the payload from client or server. All tables use `received_at` for the sort key.
454454

455455
> info ""
456-
> We recommend using the `received_at` timestamp for all queries based on time. The reason for this is two-fold. First, the `sent_at` timestamp relies on a client's device clock being accurate, which is generally unreliable. Secondly, we set `received_at` as the sort key in Redshift schemas, which means queries will execute much faster when using `received_at`. You can continue to use `timestamp` or `sent_at` timestamps in queries if `received_at` doesn't work for your analysis, but the queries will take longer to complete.
457-
458-
> For Business Tier customers, we suggest enabling `received_at` in the Selective Sync settings to ensure the syncs and backfills complete successfully.
456+
> Segment recommends using the `received_at` timestamp for all queries based on time. The reason for this is two-fold. First, the `sent_at` timestamp relies on a client's device clock being accurate, which is generally unreliable. Secondly, Segment sets `received_at` as the sort key in Redshift schemas, which means queries will execute much faster when using `received_at`. You can continue to use `timestamp` or `sent_at` timestamps in queries if `received_at` doesn't work for your analysis, but the queries will take longer to complete.
457+
>
458+
> For Business Tier customers, Segment suggests enabling `received_at` in the Selective Sync settings to ensure syncs and backfills complete successfully.
459459
460460
`received_at` does not ensure chronology of events. For queries based on event chronology, `timestamp` should be used.
461461

0 commit comments

Comments
 (0)