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: Introduce generic parameter N to TIdent #15271

Merged
merged 3 commits into from
Apr 20, 2024

Conversation

drmingdrmer
Copy link
Member

@drmingdrmer drmingdrmer commented Apr 19, 2024

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

Summary

chore: move KeyCodec to separate file
refactor: Introduce generic parameter N to TIdent

Added a generic parameter N to the TIdent type, which defaults to
String. This allows for flexibility in defining TIdent with various
types, such as u64, accommodating different key identification
requirements.

Tests

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

Type of change

  • Refactoring

Related Issues


This change is Reviewable

@github-actions github-actions bot added the pr-chore this PR only has small changes that no need to record, like coding styles. label Apr 19, 2024
@drmingdrmer drmingdrmer reopened this Apr 19, 2024
@drmingdrmer drmingdrmer changed the title chore: move KeyCodec to separate file refactor: Introduce generic parameter N to TIdent Apr 19, 2024
@github-actions github-actions bot added the pr-refactor this PR changes the code base without new features or bugfix label Apr 19, 2024
Added a generic parameter `N` to the `TIdent` type, which defaults to
`String`. This allows for flexibility in defining `TIdent` with various
types, such as `u64`, accommodating different key identification
requirements.
@drmingdrmer drmingdrmer marked this pull request as ready for review April 20, 2024 05:01
@drmingdrmer drmingdrmer requested a review from PsiACE April 20, 2024 05:02
@drmingdrmer drmingdrmer merged commit 68b7d2a into datafuselabs:main Apr 20, 2024
75 checks passed
@drmingdrmer drmingdrmer deleted the 51-t-ident-generic branch April 20, 2024 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-chore this PR only has small changes that no need to record, like coding styles. 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.

None yet

1 participant