Commit e29025e
authored
[Chore](exchange) add some check about eos with exhcnage source (#57357)
This pull request introduces improvements to the handling of data limits
and error detection in the data exchange and streaming components. The
main changes ensure correct behavior when limits are unset and add
better error reporting for unexpected sender states.
**Improvements to limit handling:**
* Updated the condition in `ExchangeSourceOperatorX::get_block` (in
`exchange_source_operator.cpp`) to correctly handle cases when `_limit`
is unset (`-1`), ensuring that the row limit logic only applies when a
limit is set.
**Robustness and error detection:**
* Enhanced `VDataStreamRecvr::SenderQueue::get_batch` (in
`vdata_stream_recvr.cpp`) to return an internal error status if the data
queue is empty but there are still remaining senders, improving error
detection and debugging.1 parent cbd5602 commit e29025e
File tree
2 files changed
+8
-4
lines changed- be/src
- pipeline/exec
- vec/runtime
2 files changed
+8
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
92 | 97 | | |
93 | 98 | | |
94 | 99 | | |
| |||
171 | 176 | | |
172 | 177 | | |
173 | 178 | | |
174 | | - | |
| 179 | + | |
175 | 180 | | |
176 | 181 | | |
177 | | - | |
178 | 182 | | |
179 | 183 | | |
180 | 184 | | |
| |||
0 commit comments