Skip to content

[core] Minor refactor for manifest sort code #8119

Open
discivigour wants to merge 4 commits into
apache:masterfrom
discivigour:j/manifest7
Open

[core] Minor refactor for manifest sort code #8119
discivigour wants to merge 4 commits into
apache:masterfrom
discivigour:j/manifest7

Conversation

@discivigour
Copy link
Copy Markdown
Contributor

Purpose

  • Rename unclear variable and function names
  • Refactor manifest sort code

Tests

final RecordComparator fieldComparator;
final Set<FileEntry.Identifier> deleteEntries;
final Map<ManifestFileMeta, Boolean> defaultCompactionMap;
final Map<ManifestFileMeta, Boolean> needsUnsortedCompaction;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

compactWithoutSort

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

renamed

final RecordComparator fieldComparator;
final Set<FileEntry.Identifier> deleteEntries;
final Map<ManifestFileMeta, Boolean> defaultCompactionMap;
final Map<ManifestFileMeta, Boolean> needsUnsortedCompaction;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Comment what does the Boolean use for

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

commented

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