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

[Enhancement] add statically hasRawData interface #751

Merged

Conversation

foxspy
Copy link
Collaborator

@foxspy foxspy commented Aug 7, 2024

issue: #750

@sre-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: foxspy

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@foxspy
Copy link
Collaborator Author

foxspy commented Aug 7, 2024

/hold

Copy link

mergify bot commented Aug 7, 2024

@foxspy 🔍 Important: PR Classification Needed!

For efficient project management and a seamless review process, it's essential to classify your PR correctly. Here's how:

  1. If you're fixing a bug, label it as kind/bug.
  2. For small tweaks (less than 20 lines without altering any functionality), please use kind/improvement.
  3. Significant changes that don't modify existing functionalities should be tagged as kind/enhancement.
  4. Adjusting APIs or changing functionality? Go with kind/feature.

For any PR outside the kind/improvement category, ensure you link to the associated issue using the format: “issue: #”.

Thanks for your efforts and contribution to the community!.

@foxspy foxspy force-pushed the add_has_raw_data_static_interface branch 2 times, most recently from b547ff2 to eec893b Compare August 7, 2024 09:52
@foxspy
Copy link
Collaborator Author

foxspy commented Aug 7, 2024

issue: #750

Copy link

codecov bot commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.48%. Comparing base (3c46f4c) to head (9ef7d21).
Report is 141 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           main     #751       +/-   ##
=========================================
+ Coverage      0   72.48%   +72.48%     
=========================================
  Files         0       70       +70     
  Lines         0     5215     +5215     
=========================================
+ Hits          0     3780     +3780     
- Misses        0     1435     +1435     

see 70 files with indirect coverage changes

@@ -38,6 +42,93 @@ SuppportMmapIndexTypeCheck(const std::string& index_name) {
return false;
}
}

inline bool
CheckBooleanInJson(const knowhere::Json& json, std::string key, bool target) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

any checks for 1 or 0 as well?
Something like value == "1" or value == 1

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is consistent with the constraint represented by the bool in the configuration. Currently, something like 1 would be considered an invalid parameter.

@alexanderguzhva
Copy link
Collaborator

lgtm overall, just a couple of questions

@mergify mergify bot added the ci-passed label Aug 7, 2024
@cqy123456
Copy link
Collaborator

/lgtm

@foxspy
Copy link
Collaborator Author

foxspy commented Aug 13, 2024

/unhold

@foxspy
Copy link
Collaborator Author

foxspy commented Aug 13, 2024

/kind improvement

@sre-ci-robot sre-ci-robot merged commit 7b66247 into zilliztech:main Aug 13, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants