Uh oh!
There was an error while loading. Please reload this page.
[feature-wip] (arrow-flight) (step1) BE support Arrow Flight server, read data only - #23765
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
7ec077f to
70fcba0Compareclang-tidy review says "All clean, LGTM! 👍" |
70fcba0 to
3f1e6ceComparexinyiZzz
commented
Sep 1, 2023
run buildall |
3f1e6ce to
0a442b0ComparexinyiZzz
commented
Sep 1, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| static arrow::Result<std::shared_ptr<FlightSqlServer>> create(); | ||
| arrow::Result<std::unique_ptr<arrow::flight::FlightDataStream>> DoGetStatement( |
There was a problem hiding this comment.
DoGetStatement override arrow::flight::sql::FlightSqlServerBase:: DoGetStatement cannot be renamed = =
Uh oh!
There was an error while loading. Please reload this page.
| int num_rows = result->result_batch.rows.size(); | ||
| while ((!_batch_queue.empty() && _buffer_rows > _buffer_limit) && !_is_cancelled) { | ||
| while ((!_mysql_batch_queue.empty() && _buffer_rows > _buffer_limit) && !_is_cancelled) { |
There was a problem hiding this comment.
maybe we need another pr to set buffer limit from session variable. Then for arrow flight we may need change the session variable to get better performance.
| _mysql_batch_queue.push_back(std::move(result)); | ||
| } | ||
| _buffer_rows += num_rows; | ||
| _data_arrival.notify_one(); |
There was a problem hiding this comment.
better not delete this line.
it seems useless but it is very dangerous to delete it.
There was a problem hiding this comment.
If add batch the same BufferControlBlock to FE and Arrow Flight at the same time, such as BE informing FE that data sending is completed, this may be a problem.
I restore it first and think about it after debugging with FE.
0a442b0 to
bb0974eCompareclang-tidy review says "All clean, LGTM! 👍" |
xinyiZzz
commented
Sep 1, 2023
run buildall |
968d54d to
a620028ComparexinyiZzz
commented
Sep 1, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
a620028 to
27f1aa1ComparexinyiZzz
commented
Sep 3, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
27f1aa1 to
e123377ComparexinyiZzz
commented
Sep 4, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
hello-stephen
commented
Sep 4, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
PR approved by at least one committer and no changes requested. |
…server, read data only (apache#23765)" This reverts commit 039c76c.
Proposed changes
Design Documentation Linked to #25514
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...