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

Function RunMutateNoKey

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

Source from the content-addressed store, hash-verified

530 }
531 static void DoMutateByKey(BasicTest& basic_tests) { basic_tests.RunMutateByKey(); }
532 void RunMutateNoKey() {
533 using B = BatchesWithSchema;
534 RunBatches([this](B l_batches, B r0_batches, B r1_batches, B exp_nokey_batches,
535 B exp_emptykey_batches, B exp_batches) {
536 ASSERT_OK_AND_ASSIGN(l_batches, MutateByKey(l_batches, "key", "key2", true));
537 ASSERT_OK_AND_ASSIGN(r0_batches, MutateByKey(r0_batches, "key", "key2", true));
538 ASSERT_OK_AND_ASSIGN(r1_batches, MutateByKey(r1_batches, "key", "key2", true));
539 ASSERT_OK_AND_ASSIGN(exp_nokey_batches,
540 MutateByKey(exp_nokey_batches, "key", "key2", true));
541 CheckRunOutput(l_batches, r0_batches, r1_batches, exp_nokey_batches, "time", "key2",
542 tolerance);
543 });
544 }
545 static void DoMutateNoKey(BasicTest& basic_tests) { basic_tests.RunMutateNoKey(); }
546 void RunMutateNullKey() {
547 using B = BatchesWithSchema;

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected