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

Classify pinot query validator errors as bad request errors #6218

Merged
merged 2 commits into from
Aug 9, 2024

Conversation

neil-xie
Copy link
Contributor

@neil-xie neil-xie commented Aug 8, 2024

What changed?
Pinot query validator is used to parse user passed in queries and build pinot queries. So the errors returned in pinot query validator should be bad requests.

Why?

How did you test it?

Potential risks

Release notes

Documentation Changes

Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.93%. Comparing base (d5814da) to head (1b35e44).

Additional details and impacted files
Files Coverage Δ
common/persistence/pinot/pinot_visibility_store.go 93.84% <100.00%> (+0.32%) ⬆️

... and 4 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d5814da...1b35e44. Read the comment docs.

Copy link
Contributor

@abhishekj720 abhishekj720 left a comment

Choose a reason for hiding this comment

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

LGTM. a simple change with change to appropriate errors and addition of tests.

@neil-xie neil-xie merged commit 38d8ef6 into uber:master Aug 9, 2024
19 checks passed
@neil-xie neil-xie deleted the cdnc_10156 branch August 9, 2024 06:12
sankari165 pushed a commit to sankari165/cadence that referenced this pull request Aug 9, 2024
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