| 180 | } |
| 181 | |
| 182 | Status BoundsCheckRowGroup(int row_group) { |
| 183 | // row group indices check |
| 184 | if (row_group < 0 || row_group >= num_row_groups()) { |
| 185 | return Status::Invalid("Some index in row_group_indices is ", row_group, |
| 186 | ", which is either < 0 or >= num_row_groups(", |
| 187 | num_row_groups(), ")"); |
| 188 | } |
| 189 | return Status::OK(); |
| 190 | } |
| 191 | |
| 192 | Status BoundsCheck(const std::vector<int>& row_groups, |
| 193 | const std::vector<int>& column_indices) { |