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

[NSE-97] optimize null check and refactor sort kernels #112

Merged
merged 6 commits into from
Feb 21, 2021

Conversation

rui-mo
Copy link
Collaborator

@rui-mo rui-mo commented Feb 19, 2021

What changes were proposed in this pull request?

This pr

  • optimized the null check
  • refactored the sort kernels
  • used reference in cmp function

fixes #97

How was this patch tested?

locally tested

@github-actions
Copy link


@rui-mo rui-mo changed the title [NSE-97] optimize null check in sort [NSE-97] optimize null check and refactor sort kernels Feb 19, 2021
@github-actions
Copy link


@github-actions
Copy link


used to do comparison.
If partition is required, null, NaN(for double and float only) and valid value are
partitioned before sorting.
FIXME: 1. datatype change after projection is not supported in SortInplaceKernel.
Copy link
Collaborator

Choose a reason for hiding this comment

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

great notes for reviewers 👍

@github-actions
Copy link


@github-actions
Copy link


@zhouyuan zhouyuan merged commit df82b78 into oap-project:master Feb 21, 2021
@rui-mo rui-mo deleted the wip_sort_null branch July 13, 2021 08:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

optimize null check in codegen sort
2 participants