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

Method LeftOutput

cpp/src/arrow/acero/hash_join_node_test.cc:2145–2153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2143 std::vector<int> left_output, right_output;
2144
2145 std::vector<FieldRef> LeftOutput(JoinType join_type) const {
2146 if (join_type == JoinType::RIGHT_SEMI || join_type == JoinType::RIGHT_ANTI) {
2147 return {};
2148 }
2149 std::vector<FieldRef> output(left_output.size());
2150 std::transform(left_output.begin(), left_output.end(), output.begin(),
2151 [](int i) { return i; });
2152 return output;
2153 }
2154
2155 std::vector<FieldRef> RightOutput(JoinType join_type) const {
2156 if (join_type == JoinType::LEFT_SEMI || join_type == JoinType::LEFT_ANTI) {

Callers 1

TESTFunction · 0.80

Calls 3

sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected