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

feat: stream reader/writer to support nulls #33080

Merged
merged 2 commits into from
May 27, 2024

Conversation

tedxu
Copy link
Collaborator

@tedxu tedxu commented May 15, 2024

See: #31728

@sre-ci-robot sre-ci-robot added the size/L Denotes a PR that changes 100-499 lines. label May 15, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/feature Issues related to feature request from users do-not-merge/missing-related-issue labels May 15, 2024
Copy link
Contributor

mergify bot commented May 15, 2024

@tedxu Please associate the related issue to the body of your Pull Request. (eg. “issue: #”)

Copy link

codecov bot commented May 16, 2024

Codecov Report

Attention: Patch coverage is 97.53086% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 82.10%. Comparing base (5452376) to head (97f6145).
Report is 28 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #33080      +/-   ##
==========================================
+ Coverage   82.06%   82.10%   +0.04%     
==========================================
  Files        1012     1012              
  Lines      128806   128902      +96     
==========================================
+ Hits       105702   105840     +138     
+ Misses      19112    19080      -32     
+ Partials     3992     3982      -10     
Files Coverage Δ
internal/storage/serde.go 89.26% <97.53%> (+1.33%) ⬆️

... and 53 files with indirect coverage changes

@mergify mergify bot added the ci-passed label May 16, 2024
tedxu added 2 commits May 23, 2024 19:05
Signed-off-by: Ted Xu <ted.xu@zilliz.com>
Signed-off-by: Ted Xu <ted.xu@zilliz.com>
Copy link
Contributor

mergify bot commented May 24, 2024

@tedxu E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@tedxu
Copy link
Collaborator Author

tedxu commented May 24, 2024

/run-cpu-e2e

Copy link
Contributor

mergify bot commented May 24, 2024

@tedxu E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

Type: arrays[i].DataType(),
Name: strconv.Itoa(int(fid)),
Type: arrays[i].DataType(),
Nullable: true, // No nullable check here.
Copy link
Contributor

Choose a reason for hiding this comment

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

why no nullable check here? it seem ok to get nullable in collection schema.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There are two reasons why there is no nullable check:

  1. In compact operations, it is safe to suppose the compacting segments are valid. The nullable checks have been done at the insert time.
  2. The schema evolution feature requires nullable for almost all columns, making the schema property “not-nullable” useless. I suppose “not-nullable” may useful only in compile-time, e.g., in literal fields for constant folding optimizations.

@mergify mergify bot added the ci-passed label May 24, 2024
@smellthemoon
Copy link
Contributor

/lgtm

Copy link
Contributor

@congqixia congqixia left a comment

Choose a reason for hiding this comment

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

/approve

@sre-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, tedxu

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

@sre-ci-robot sre-ci-robot merged commit 066c8ea into milvus-io:master May 27, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/feature Issues related to feature request from users lgtm size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants