Function
join_info
(
set0: SetInfo,
set1: SetInfo,
headers: Vec<(&str, &str)>,
expected: HashMap<JoinType, ExpectedSetInfo>,
)
Source from the content-addressed store, hash-verified
| 136 | } |
| 137 | |
| 138 | pub(crate) fn join_info( |
| 139 | set0: SetInfo, |
| 140 | set1: SetInfo, |
| 141 | headers: Vec<(&str, &str)>, |
| 142 | expected: HashMap<JoinType, ExpectedSetInfo>, |
| 143 | ) -> JoinTestInfo { |
| 144 | let mut hmap = HashMap::new(); |
| 145 | for (h0, h1) in headers { |
| 146 | hmap.insert(h0.to_owned(), h1.to_owned()); |
| 147 | } |
| 148 | let mut has_column_masks = false; |
| 149 | for col in &set0 { |
| 150 | if col.has_mask() { |
| 151 | has_column_masks = true; |
| 152 | break; |
| 153 | } |
| 154 | } |
| 155 | JoinTestInfo { |
| 156 | set0, |
| 157 | set1, |
| 158 | headers: hmap, |
| 159 | expected, |
| 160 | has_column_masks, |
| 161 | } |
| 162 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected