Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Removed unused argument always_mark_full. #308

Merged
merged 1 commit into from Oct 10, 2017

Conversation

zuyu
Copy link
Member

@zuyu zuyu commented Oct 5, 2017

This PR cleans up the unused argument always_mark_full, and avoids branching overhead.

@@ -104,7 +104,7 @@ class InsertDestinationInterface {
* insertion from ValueAccessor even when partially full.
**/
virtual void bulkInsertTuples(ValueAccessor *accessor,
bool always_mark_full = false) = 0;
const bool always_mark_full = false) = 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

Similar to other variants of bulkInsert methods, why are we not getting rid of the always_mark_full parameter in this function?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is required by the first pass of the multi-pass sort.

@hbdeshmukh
Copy link
Contributor

Looks good.

@asfgit asfgit merged commit f820c45 into apache:master Oct 10, 2017
@zuyu zuyu deleted the always-mark-full-arg branch October 10, 2017 19:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants