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

Fixes #1332: separate out ErrorCode.VECTOR_SIZE_MISMATCH from INVALID_QUERY #1333

Merged
merged 3 commits into from
Aug 13, 2024

Conversation

tatu-at-datastax
Copy link
Contributor

What this PR does:

Separates out new ErrorCode, VECTOR_SIZE_MISMATCH out of generic INVALID_QUERY; improves message slightly. But mostly helps with metrics dashboard to spell out actual issue.

Which issue(s) this PR fixes:
Fixes #1332

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@tatu-at-datastax tatu-at-datastax self-assigned this Aug 13, 2024
@tatu-at-datastax tatu-at-datastax requested a review from a team as a code owner August 13, 2024 21:27
@@ -985,7 +985,7 @@ public void failWithEmptyVector() {
}

@Test
@Order(4)
@Order(5)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had duplicate for 4, fixing it.

@tatu-at-datastax tatu-at-datastax merged commit 48b6bae into main Aug 13, 2024
3 checks passed
@tatu-at-datastax tatu-at-datastax deleted the tatu/1332-error-vector-size branch August 13, 2024 23:54
Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

Create and use new ErrorCode for Vector-size-mismatch case of INVALID_QUERY
3 participants