Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBL-6416: Regression - VS LIMIT query should throw for out of range #2181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jianminzhao
Copy link
Contributor

No description provided.

@cbl-bot
Copy link

cbl-bot commented Nov 5, 2024

Code Coverage Results:

Type Percentage
branches 65.89
functions 78.04
instantiations 70.32
lines 77.24
regions 73.0

@jianminzhao jianminzhao requested a review from snej November 6, 2024 16:35
@snej
Copy link
Collaborator

snej commented Nov 6, 2024

Sorry to derail this, but I don't think the 3.2 behavior is the right thing to do. There's no other case where a non-positive LIMIT causes an error; a zero or negative value just means zero results. And why arbitrarily prevent limits above 10000?

I'm pretty sure this is not consistent with vector query on Server, and we're supposed to be compatible with that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants