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

Method MarkNeedsDeepCopy

be/src/runtime/row-batch.h:299–302  ·  view source on GitHub ↗

Called to indicate that some resources backing this batch were not attached and will be cleaned up after the next GetNext() call. This means that the batch must be returned up the operator tree. Blocking operators must deep-copy any rows from this batch or preceding batches. This is a stronger version of MarkFlushResources(), because blocking operators are not allowed to accumulate batches with t

Source from the content-addressed store, hash-verified

297 /// are not allowed to accumulate batches with the 'needs_deep_copy' flag.
298 /// TODO: IMPALA-4179: always attach backing resources and remove this flag.
299 void MarkNeedsDeepCopy() {
300 MarkFlushResources(); // No more rows should be added to the batch.
301 needs_deep_copy_ = true;
302 }
303
304 bool needs_deep_copy() { return needs_deep_copy_; }
305

Callers 5

GetNextMethod · 0.80
GetNextMethod · 0.80
GetNextPassThroughMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64