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

Method BoundsCheckColumn

cpp/src/parquet/arrow/reader.cc:172–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 }
171
172 Status BoundsCheckColumn(int column) {
173 if (column < 0 || column >= this->num_columns()) {
174 return Status::Invalid("Column index out of bounds (got ", column,
175 ", should be "
176 "between 0 and ",
177 this->num_columns() - 1, ")");
178 }
179 return Status::OK();
180 }
181
182 Status BoundsCheckRowGroup(int row_group) {
183 // row group indices check

Callers

nothing calls this directly

Calls 3

num_columnsMethod · 0.95
InvalidFunction · 0.50
OKFunction · 0.50

Tested by

no test coverage detected