cockroachdb / cockroachdb/cockroach

sql/queries: add a limit for number of placeholder arguments you can have in a WHERE IN clause

Open
#138,996 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.