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

Function CheckColumnBounds

cpp/src/parquet/schema.cc:45–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void CheckColumnBounds(int column_index, size_t max_columns) {
46 if (ARROW_PREDICT_FALSE(column_index < 0 ||
47 static_cast<size_t>(column_index) >= max_columns)) {
48 std::stringstream ss;
49 ss << "Invalid Column Index: " << column_index << " Num columns: " << max_columns;
50 throw ParquetException(ss.str());
51 }
52}
53
54} // namespace
55

Callers 2

ColumnMethod · 0.85
GetColumnRootMethod · 0.85

Calls 2

ParquetExceptionFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected