HappenLee opened a new pull request #7785:
URL: https://github.com/apache/incubator-doris/pull/7785
# Proposed changes
Issue Number: close #6238
Co-authored-by: HappenLee <[email protected]>
Co-authored-by: stdpain <[email protected]>
Co-authored-by: Zhengguo Yang <[email protected]>
Co-authored-by: wangbo <[email protected]>
Co-authored-by: emmymiao87 <[email protected]>
Co-authored-by: Pxl <[email protected]>
Co-authored-by: zhangstar333
<[email protected]>
Co-authored-by: thinker <[email protected]>
Co-authored-by: Zeno Yang <[email protected]>
Co-authored-by: Wang Shuo <[email protected]>
Co-authored-by: zhoubintao <[email protected]>
Co-authored-by: Gabriel <[email protected]>
Co-authored-by: xinghuayu007 <[email protected]>
Co-authored-by: weizuo93 <[email protected]>
Co-authored-by: yiguolei <[email protected]>
Co-authored-by: anneji-dev <[email protected]>
Co-authored-by: awakeljw <[email protected]>
Co-authored-by: taberylyang
<[email protected]>
Co-authored-by: Cui Kaifeng <[email protected]>
## 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.**
we add all code about Clickhouse Title:
// 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:
* vaggregation_node
* vanalytic_eval_node
* vassert_num_rows_node
* vblocking_join_node
* vcross_join_node
* vempty_set_node
* ves_http_scan_node
* vexcept_node
* vexchange_node
* vintersect_node
* vmysql_scan_node
* vodbc_scan_node
* volap_scan_node
* vrepeat_node
* vschema_scan_node
* vselect_node
* vset_operation_node
* vsort_node
* vunion_node
* vhash_join_node
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
1. Set the environment variable `set enable_vectorized_engine = true;
`(required)
2. Set the environment variable `set batch_size = 4096; ` (recommended)
### 5. Some diff from origin exec engine
https://github.com/doris-vectorized/doris-vectorized/issues/294
## Checklist(Required)
1. Does it affect the original behavior: (No)
2. Has unit tests been added: (Yes)
3. Has document been added or modified: (No)
4. Does it need to update dependencies: (No)
5. Are there any changes that cannot be rolled back: (Yes)
## Further comments
If this is a relatively large or complex change, kick off the discussion at
[[email protected]](mailto:[email protected]) by explaining why you
chose the solution you did and what alternatives you considered, etc...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]