apache / doris

Apache Doris is an easy-to-use, high performance and unified analytics database.
https://doris.apache.org
Apache License 2.0
11.84k stars 3.12k forks source link

[feture](exchange) refine SenderQueue and add enable_exchange_pass_through #37231

Open Mryange opened 2 days ago

Mryange commented 2 days ago

Proposed changes

  1. remove non pipeline code
  2. use pass through in SenderQueue add block
mysql [test10]>set ENABLE_EXCHANGE_PASS_THROUGH = true;
Query OK, 0 rows affected (0.00 sec)

mysql [test10]>SELECT count() FROM strings WHERE long IN (SELECT long FROM strings);
+----------+
| count(*) |
+----------+
| 10000000 |
+----------+
1 row in set (27.87 sec)

mysql [test10]>set ENABLE_EXCHANGE_PASS_THROUGH = false;
Query OK, 0 rows affected (0.00 sec)

mysql [test10]>SELECT count() FROM strings WHERE long IN (SELECT long FROM strings);
+----------+
| count(*) |
+----------+
| 10000000 |
+----------+
1 row in set (33.11 sec)
Mryange commented 2 days ago

run buildall

github-actions[bot] commented 2 days ago

clang-tidy review says "All clean, LGTM! :+1:"

Mryange commented 2 days ago

run buildall

github-actions[bot] commented 2 days ago

clang-tidy review says "All clean, LGTM! :+1:"

github-actions[bot] commented 2 days ago

clang-tidy review says "All clean, LGTM! :+1:"

Mryange commented 2 days ago

run buildall