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

Function GetEmptyTest1Forward

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

Source from the content-addressed store, hash-verified

1035})
1036
1037BasicTest GetEmptyTest1Forward() {
1038 // Empty left batch
1039 return BasicTest(/*l*/
1040 {R"([])", R"([[2000, 1, 4], [2000, 2, 24]])"},
1041 /*r0*/
1042 {R"([[0, 1, 11], [500, 2, 31], [1000, 1, 12]])",
1043 R"([[1500, 2, 32], [2000, 1, 13], [2500, 2, 33]])"},
1044 /*r1*/
1045 {R"([[0, 2, 1001], [500, 1, 101]])",
1046 R"([[1000, 1, 102], [1500, 2, 1002], [2000, 1, 103]])"},
1047 /*exp_nokey*/
1048 {R"([[2000, 0, 4, 13, 103], [2000, 0, 24, 13, 103]])"},
1049 /*exp_emptykey*/
1050 {R"([[2000, 1, 4, 13, 103], [2000, 2, 24, 13, 103]])"},
1051 /*exp*/
1052 {R"([[2000, 1, 4, 13, 103], [2000, 2, 24, 33, null]])"}, 1000);
1053}
1054
1055TRACED_TEST_P(AsofJoinBasicTest, TestEmpty1Forward, {
1056 ARROW_SCOPED_TRACE("AsofJoinBasicTest_TestEmpty1Forward_" + std::get<1>(GetParam()));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected