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

Function RunMutateByKey

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

Source from the content-addressed store, hash-verified

517 }
518 static void DoDoubleByKey(BasicTest& basic_tests) { basic_tests.RunDoubleByKey(); }
519 void RunMutateByKey() {
520 using B = BatchesWithSchema;
521 RunBatches([this](B l_batches, B r0_batches, B r1_batches, B exp_nokey_batches,
522 B exp_emptykey_batches, B exp_batches) {
523 ASSERT_OK_AND_ASSIGN(l_batches, MutateByKey(l_batches, "key", "key2"));
524 ASSERT_OK_AND_ASSIGN(r0_batches, MutateByKey(r0_batches, "key", "key2"));
525 ASSERT_OK_AND_ASSIGN(r1_batches, MutateByKey(r1_batches, "key", "key2"));
526 ASSERT_OK_AND_ASSIGN(exp_batches, MutateByKey(exp_batches, "key", "key2"));
527 CheckRunOutput(l_batches, r0_batches, r1_batches, exp_batches, "time",
528 {"key", "key2"}, tolerance);
529 });
530 }
531 static void DoMutateByKey(BasicTest& basic_tests) { basic_tests.RunMutateByKey(); }
532 void RunMutateNoKey() {
533 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