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

Method BoundsCheckColumn

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

Source from the content-addressed store, hash-verified

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