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

feat(query): Add warnings in the query response #13918

Merged
merged 7 commits into from
Dec 6, 2023

Conversation

flaneur2020
Copy link
Member

@flaneur2020 flaneur2020 commented Dec 4, 2023

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

this PR added an extra warnings field in the http query response. whenever we got errors which hope to be swallowed, we can transform it into a warning and pass the warning message to the driver by this warnings field.

fixes #13413


This change is Reviewable

@github-actions github-actions bot added the pr-feature this PR introduces a new feature to the codebase label Dec 4, 2023
@flaneur2020 flaneur2020 marked this pull request as ready for review December 5, 2023 10:53
@BohuTANG BohuTANG requested a review from youngsofun December 5, 2023 11:28
@youngsofun
Copy link
Member

lgtm, only some tests need fix

@flaneur2020 flaneur2020 force-pushed the add-warnings-to-query-ctx branch from 8827c04 to a814b63 Compare December 6, 2023 03:55
@BohuTANG BohuTANG merged commit 2659dd4 into databendlabs:main Dec 6, 2023
66 of 68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-feature this PR introduces a new feature to the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: allow return a warning on listing system.columns/tables, etc.
3 participants