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

Method DoDiff

cpp/src/arrow/array/diff_test.cc:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 DiffTest() : rng_(kSeed) {}
76
77 void DoDiff() {
78 auto edits = Diff(*base_, *target_, default_memory_pool());
79 ASSERT_OK(edits);
80 edits_ = edits.ValueOrDie();
81 ASSERT_OK(edits_->ValidateFull());
82 ASSERT_TRUE(edits_->type()->Equals(edits_type));
83 insert_ = checked_pointer_cast<BooleanArray>(edits_->field(0));
84 run_lengths_ = checked_pointer_cast<Int64Array>(edits_->field(1));
85 }
86
87 void DoDiffAndFormat(std::stringstream* out) {
88 DoDiff();

Callers 1

TYPED_TESTFunction · 0.80

Calls 7

DiffFunction · 0.85
default_memory_poolFunction · 0.85
ValueOrDieMethod · 0.80
ValidateFullMethod · 0.45
EqualsMethod · 0.45
typeMethod · 0.45
fieldMethod · 0.45

Tested by

no test coverage detected