Skip to content

Clarify that using LIMIT 1 still means your query touches more than one row #11953

Open
@rmloveland

Description

@rmloveland

Richard Loveland (rmloveland) commented:

This came up during discussion about the error message for bounded staleness reads in cockroachdb/cockroach#71473

Since the error message says you can't (yet) touch more than one row with a bounded staleness read query, we need to make clear in the LIMIT docs and elsewhere that even though you are doing a LIMIT 1 multiple rows are being touched, and then filtered down to whatever your limit count is.

This update should probably also cross-link to SQL statement performance as well.

See also:

Jira Issue: DOC-1204

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions