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: simplify DatabaseFactory, just static dispatch #15203

Merged
merged 2 commits into from
Apr 10, 2024

Conversation

drmingdrmer
Copy link
Member

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

Summary

refactor: simplify DatabaseFactory, just static dispatch

Tests

  • Unit Test
  • Logic Test
  • Benchmark Test
  • No Test - Explain why

Type of change

  • Refactoring

Related Issues

@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Apr 10, 2024
@drmingdrmer drmingdrmer marked this pull request as ready for review April 10, 2024 03:51
@drmingdrmer drmingdrmer force-pushed the 41-db-create branch 3 times, most recently from 34ec519 to 8d55167 Compare April 10, 2024 09:35
@@ -12,7 +12,7 @@ pyo3-build-config = "0.18.3"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "databend"
crate-type = ["cdylib"]
crate-ype = ["cdylib"]
Copy link
Member

Choose a reason for hiding this comment

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

?

Copy link
Member Author

Choose a reason for hiding this comment

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

...

This methods is a transitional method, to build a Tenant from a
NonEmptyString. This method will be removed in future because a Tenant
must contain a in-meta-service per-tenant config to work correctly,
e.g., determine the version of path to store a value: with tenant prefix
or without.
@drmingdrmer drmingdrmer merged commit 515f99e into databendlabs:main Apr 10, 2024
72 checks passed
@drmingdrmer drmingdrmer deleted the 41-db-create branch April 11, 2024 00:56
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.

3 participants