cockroachdb / cockroachdb/cockroach
sql/queries: add a limit for number of placeholder arguments you can have in a WHERE IN clause
Open
C-enhancement
E-quick-win
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
We currently don't have an upper limit on how many things we can put in an WHERE in-clause. We should define an upper limit or have a setting to set a limit. We should also establish the point at which a large number is likely to cause OOMs so we can warn customers.
Jira issue: CRDB-46454
Contributor guide
Assessment
This issue has not been assessed yet.