MCPcopy Create free account
hub / github.com/apache/arrow / AppendNull

Function AppendNull

cpp/src/arrow/array/builder_adaptive.h:61–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 }
60
61 Status AppendNull() final {
62 pending_data_[pending_pos_] = 0;
63 pending_valid_[pending_pos_] = 0;
64 pending_has_nulls_ = true;
65 ++pending_pos_;
66 ++length_;
67 ++null_count_;
68
69 if (ARROW_PREDICT_FALSE(pending_pos_ >= pending_size_)) {
70 return CommitPendingData();
71 }
72 return Status::OK();
73 }
74
75 Status AppendEmptyValues(int64_t length) final {
76 ARROW_RETURN_NOT_OK(CommitPendingData());

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected