[feature](vectorization) Support Vectorized Exec Engine In Doris#7785
Merged
morningman merged 33 commits intomasterfrom Jan 18, 2022
Merged
[feature](vectorization) Support Vectorized Exec Engine In Doris#7785morningman merged 33 commits intomasterfrom
morningman merged 33 commits intomasterfrom
Conversation
Co-authored-by: HappenLee <happenlee@hotmail.com> Co-authored-by: stdpain <34912776+stdpain@users.noreply.github.com> Co-authored-by: Zhengguo Yang <yangzhgg@gmail.com> Co-authored-by: wangbo <506340561@qq.com> Co-authored-by: emmymiao87 <522274284@qq.com> Co-authored-by: Pxl <952130278@qq.com> Co-authored-by: zhangstar333 <87313068+zhangstar333@users.noreply.github.com> Co-authored-by: thinker <zchw100@qq.com> Co-authored-by: Zeno Yang <1521564989@qq.com> Co-authored-by: Wang Shuo <wangshuo128@gmail.com> Co-authored-by: zhoubintao <35688959+zbtzbtzbt@users.noreply.github.com> Co-authored-by: Gabriel <gabrielleebuaa@gmail.com> Co-authored-by: xinghuayu007 <1450306854@qq.com> Co-authored-by: weizuo93 <weizuo@apache.org> Co-authored-by: yiguolei <guoleiyi@tencent.com> Co-authored-by: anneji-dev <85534151+anneji-dev@users.noreply.github.com> Co-authored-by: awakeljw <993007281@qq.com> Co-authored-by: taberylyang <95272637+taberylyang@users.noreply.github.com> Co-authored-by: Cui Kaifeng <48012748+azurenake@users.noreply.github.com>
Co-authored-by: lihaopeng <lihaopeng@baidu.com>
Co-authored-by: lihaopeng <lihaopeng@baidu.com>
Co-authored-by: zuochunwei <zuochunwei@meituan.com>
Co-authored-by: lihaopeng <lihaopeng@baidu.com>
…function alias at the same time && support substr(str,int) override (#7640)
Co-authored-by: lihaopeng <lihaopeng@baidu.com>
…y copy by the method get_data_type (#7600) Co-authored-by: zuochunwei <zuochunwei@meituan.com>
Co-authored-by: lihaopeng <lihaopeng@baidu.com>
Co-authored-by: zuochunwei <zuochunwei@meituan.com>
…cketShuffleJoin run fail && fix some compile fail (#7688)
…ll function (#7722) Co-authored-by: lihaopeng <lihaopeng@baidu.com>
…ix get wrong has_null_tag (#7728)
* support function conv() * add document
…7778) Co-authored-by: lihaopeng <lihaopeng@baidu.com>
morningman
approved these changes
Jan 17, 2022
Contributor
morningman
left a comment
There was a problem hiding this comment.
LGTM.
This is merged from branch vectorized and has been tested.
If there is no other comment, I will merge it very soon.
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Issue Number: close #6238
Problem Summary:
1. Some code from clickhouse
ClickHouse is an excellent implementation of the vectorized execution engine database, so here we have borrowed a lot from its excellent implementation in terms of data structure and function implementation. We are based on ClickHouse v19.16.2.2 and would like to thank the ClickHouse community and developers.
The following comment has been added to the code from Clickhouse:
// This file is copied from
// https://github.com/ClickHouse/ClickHouse/blob/master/src/Interpreters/AggregationCommon.h
// and modified by Doris
2. Support exec node and query:
You can run exec engine of SSB/TPCH and 70% TPCDS stand query test set.
3. Data Model
Vec Exec Engine Support Dup/Agg/Unq table, Support Block Reader Vectorized. Segment Vec is working in process.
4. How to use
set enable_vectorized_engine = true;(required)set batch_size = 4096;(recommended)5. Some diff from origin exec engine
doris-vectorized/doris-vectorized#294
Checklist(Required)
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...