Skip to content

Commit 795b2cb

Browse files
committed
DOC-116 added limit
1 parent 4725012 commit 795b2cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/personas/sql-traits.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ When you're building your query, there are some requirements for the data your q
153153
- It must return at least one additional trait in addition to `user_id`/`group_id`, and no more than 25 total columns
154154
- The query must not return any `user_id`s with a `null` value, or any duplicate `user_id`s.
155155
- The query must not return more than 10 million rows.
156+
- Each record must be less than 32kb in size to adhere to [Segment's maximum request size](/docs/connections/sources/catalog/libraries/server/http-api/#max-request-size).
156157

157158
A successful preview returns a sample of users and their traits.
158159
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
219220

220221
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.
221222

223+
### Is there a limit on the size a SQL Trait's payload?
224+
225+
Yes, Segment limits request sizes to a maximum of 32kb. Records larger than this size are discarded.
226+
222227
## Troubleshooting
223228

224229
### I am getting a permissions error.

0 commit comments

Comments
 (0)