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

[NSE-186] backport to 1.1 branch #268

Merged
merged 2 commits into from
Apr 23, 2021

Conversation

zhouyuan
Copy link
Collaborator

No description provided.

* fix decimal divide int issue

* correct cpp uts

* use const reference

Co-authored-by: Yuan <yuan.zhou@outlook.com>

Co-authored-by: Yuan <yuan.zhou@outlook.com>
@github-actions
Copy link

#186

@zhouyuan zhouyuan changed the title [NSE-186] backport to 1.1 branch [DNM][NSE-186] backport to 1.1 branch Apr 21, 2021
…roject#266)

* change the UnsafeAppend to Append

* fix buffer builder in shuffle

shuffle builder use UnsafeAppend API for better performance. it
tries to reserve enough space based on results of last recordbatch,
this maybe not buggy if there's a dense recordbatch after a sparse one.

this patch adds below fixes:
- adds Reset() after Finish() in builder
- reserve length for offset_builder in binary builder

A further clean up on the reservation logic should be needed.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>

Co-authored-by: Yuan Zhou <yuan.zhou@intel.com>
@zhouyuan zhouyuan changed the title [DNM][NSE-186] backport to 1.1 branch [NSE-186] backport to 1.1 branch Apr 23, 2021
@zhouyuan zhouyuan merged commit 45beeae into oap-project:branch-1.1-spark-3.x Apr 23, 2021
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.

3 participants