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

[core] Skip writing empty deletion vector index #2982

Closed
wants to merge 1 commit into from

Conversation

Zouxxyy
Copy link
Contributor

@Zouxxyy Zouxxyy commented Mar 11, 2024

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

@@ -184,6 +184,10 @@ public Optional<DeletionVector> readDeletionVector(IndexFileMeta fileMeta, Strin
}

public IndexFileMeta writeDeletionVectorsIndex(Map<String, DeletionVector> deletionVectors) {
if (deletionVectors.isEmpty()) {
return IndexFileMeta.EMPTY_DV_INDEX;
Copy link
Contributor

Choose a reason for hiding this comment

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

return null?

@Zouxxyy
Copy link
Contributor Author

Zouxxyy commented Mar 11, 2024

close it for IndexIncrement need to refactor

@Zouxxyy Zouxxyy closed this Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants