| 1498 | } |
| 1499 | |
| 1500 | bool JoinResultMaterialize::HasBuildKeyOutput() const { |
| 1501 | auto to_key = build_schemas_->map(HashJoinProjection::OUTPUT, HashJoinProjection::KEY); |
| 1502 | for (int i = 0; i < build_schemas_->num_cols(HashJoinProjection::OUTPUT); ++i) { |
| 1503 | if (to_key.get(i) != SchemaProjectionMap::kMissingField) { |
| 1504 | return true; |
| 1505 | } |
| 1506 | } |
| 1507 | return false; |
| 1508 | } |
| 1509 | |
| 1510 | bool JoinResultMaterialize::HasBuildPayloadOutput() const { |
| 1511 | auto to_payload = |