You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/personas/sql-traits.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,7 @@ When you're building your query, there are some requirements for the data your q
153
153
- It must return at least one additional trait in addition to `user_id`/`group_id`, and no more than 25 total columns
154
154
- The query must not return any `user_id`s with a `null` value, or any duplicate `user_id`s.
155
155
- The query must not return more than 10 million rows.
156
+
- Each record must be less than 16kb in size to adhere to [Segment's maximum request size](/docs/connections/sources/catalog/libraries/server/http-api/#max-request-size).
156
157
157
158
A successful preview returns a sample of users and their traits.
158
159
If we have seen a user before in Personas, their profile shows a green checkmark. You can click that user to view their user profile. If a user has a question mark, we haven't seen this `user_id` in Personas before.
@@ -219,6 +220,10 @@ No, Personas only sends an identify/group call if the values in a row have chang
219
220
220
221
If you're importing a large list of users and traits, the biggest consideration is the API call usage and volume among the partners you are sending the data to. These vary depending on our partners, so [contact us](https://segment.com/help/contact/) if you are concerned about this.
221
222
223
+
### Is there a limit on the size of a SQL Trait's payload?
224
+
225
+
Yes, Segment limits request sizes to a maximum of 16kb. Records larger than this are discarded.
226
+
222
227
## Troubleshooting
223
228
224
229
### I am getting a permissions error.
@@ -262,3 +267,4 @@ This means for the [sources connected to Personas](https://app.segment.com/goto-
262
267
You might be returning a value for `user_id` that is inconsistent with how you track `user_id` elsewhere. We've seen cases where some customers want to return `email` as the `user_id`, or a partner's tool id as the `user_id`. These are against our best practices and corrupt the identity graph if you are then tracking `user_id` differently elsewhere in your apps.
263
268
264
269
If you see only question marks in the preview, and have already tracked data historically with Segment, then you probably just have the wrong column. If you cloud source doesn't have the database `user_id`, we recommend JOINing with an internal users table before sending the results back to Segment.
0 commit comments