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

Function RunMutateNullKey

cpp/src/arrow/acero/asof_join_node_test.cc:546–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544 }
545 static void DoMutateNoKey(BasicTest& basic_tests) { basic_tests.RunMutateNoKey(); }
546 void RunMutateNullKey() {
547 using B = BatchesWithSchema;
548 RunBatches([this](B l_batches, B r0_batches, B r1_batches, B exp_nokey_batches,
549 B exp_emptykey_batches, B exp_batches) {
550 ASSERT_OK_AND_ASSIGN(l_batches, MutateByKey(l_batches, "key", "key2", true, true));
551 ASSERT_OK_AND_ASSIGN(r0_batches,
552 MutateByKey(r0_batches, "key", "key2", true, true));
553 ASSERT_OK_AND_ASSIGN(r1_batches,
554 MutateByKey(r1_batches, "key", "key2", true, true));
555 ASSERT_OK_AND_ASSIGN(exp_nokey_batches,
556 MutateByKey(exp_nokey_batches, "key", "key2", true, true));
557 CheckRunOutput(l_batches, r0_batches, r1_batches, exp_nokey_batches,
558 GetRepeatedOptions(3, "time", {"key2"}, tolerance));
559 });
560 }
561 static void DoMutateNullKey(BasicTest& basic_tests) { basic_tests.RunMutateNullKey(); }
562 void RunMutateEmptyKey() {
563 using B = BatchesWithSchema;

Callers

nothing calls this directly

Calls 5

RunBatchesFunction · 0.85
MutateByKeyFunction · 0.85
ASSERT_OK_AND_ASSIGNFunction · 0.70
CheckRunOutputFunction · 0.70
GetRepeatedOptionsFunction · 0.70

Tested by

no test coverage detected