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

refactor: remove dependency of common-exceptionn from common-meta-types #10114

Merged
merged 2 commits into from
Feb 18, 2023

Conversation

drmingdrmer
Copy link
Member

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

Summary

Refactor: remove dependency of common-exceptionn from common-meta-types

Crate common-meta-types provides just query-meta communication protocol
types. It does not care about the user interface level ErrorCode or
error types used internally in databend-query.

Conversion from Meta*Error to ErrorCode is moved to
crate common-exception.

All Meta*Error for query is an unhandlable internal error.

Changelog

Related Issues

Crate `common-meta-types` provides just query-meta communication protocol
types. It does not care about the user interface level `ErrorCode` or
error types used internally in databend-query.

Conversion from `Meta*Error` to `ErrorCode` is moved to
crate `common-exception`.

All `Meta*Error` for query is an unhandlable internal error.
@vercel
Copy link

vercel bot commented Feb 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
databend ⬜️ Ignored (Inspect) Feb 18, 2023 at 6:06AM (UTC)

@drmingdrmer drmingdrmer changed the title Refactor: remove dependency of common-exceptionn from common-meta-types refactor: remove dependency of common-exceptionn from common-meta-types Feb 18, 2023
@mergify mergify bot added the pr-refactor this PR changes the code base without new features or bugfix label Feb 18, 2023
@drmingdrmer drmingdrmer marked this pull request as ready for review February 18, 2023 07:27
@drmingdrmer drmingdrmer merged commit 5d902c0 into databendlabs:main Feb 18, 2023
@drmingdrmer drmingdrmer deleted the 50-exception branch February 18, 2023 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-refactor this PR changes the code base without new features or bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant