Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

[NSE-479] optimize sort materialization #480

Merged
merged 9 commits into from
Sep 9, 2021

Conversation

rui-mo
Copy link
Collaborator

@rui-mo rui-mo commented Aug 18, 2021

What changes were proposed in this pull request?

This pr optimized the sort materialization process.
fixed #479

How was this patch tested?

verified on TPC-DS v1/v2

@github-actions
Copy link

#479

@rui-mo rui-mo marked this pull request as draft August 18, 2021 06:27
@rui-mo rui-mo force-pushed the wip_opt_sort branch 2 times, most recently from 9ccd00b to 8145a2e Compare August 23, 2021 11:09
@rui-mo rui-mo marked this pull request as ready for review August 24, 2021 01:39
cached_arr_[array_id]->IsNull(item->id)) {
null_count++;
arrow::BitUtil::SetBitTo(out_is_valid, position, false);
array_data[position] = CType{};
Copy link
Collaborator

Choose a reason for hiding this comment

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

seems wasting 128 bits for a null decimal?

@zhouyuan zhouyuan merged commit 1a0d654 into oap-project:master Sep 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize sort materialization
3 participants