MCPcopy Create free account
hub / github.com/apache/impala / CalculateRowBatchCapacity

Method CalculateRowBatchCapacity

be/src/runtime/krpc-data-stream-sender.cc:392–396  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392int KrpcDataStreamSender::Channel::CalculateRowBatchCapacity() const {
393 // TODO: take into account of var-len data at runtime.
394 return
395 max(1, parent_->per_channel_buffer_size_ / max(row_desc_->GetRowSize(), 1));
396}
397
398void KrpcDataStreamSender::Channel::MarkDone(const Status& status) {
399 if (UNLIKELY(!status.ok())) {

Callers

nothing calls this directly

Calls 2

maxFunction · 0.85
GetRowSizeMethod · 0.80

Tested by

no test coverage detected