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: make IndexNameIdent.tenant a Tenant struct #14776

Merged
merged 2 commits into from
Feb 28, 2024

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Feb 28, 2024

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

Summary

refactor: make IndexNameIdent.tenant a Tenant struct

So that to standardize the usage of tenant functionality.

Add kvapi::KeyParser::next_nonempty() to force to get a non-empty
string segment, or return an error.

Changelog

  • Improvement

Related Issues


This change is Reviewable

@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Feb 28, 2024
@drmingdrmer drmingdrmer force-pushed the 41-tenant branch 2 times, most recently from d52c40d to ec163e3 Compare February 28, 2024 06:29
So that to standardize the usage of tenant functionality.

Add `kvapi::KeyParser::next_nonempty()` to force to get a non-empty
string segment, or return an error.
@drmingdrmer drmingdrmer merged commit f9e0e1c into databendlabs:main Feb 28, 2024
70 of 71 checks passed
@drmingdrmer drmingdrmer deleted the 41-tenant branch February 28, 2024 10:49
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.

2 participants