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

Function ThrowRowsMisMatchError

cpp/src/parquet/file_writer.cc:84–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82int64_t RowGroupWriter::num_rows() const { return contents_->num_rows(); }
83
84inline void ThrowRowsMisMatchError(int col, int64_t prev, int64_t curr) {
85 std::stringstream ss;
86 ss << "Column " << col << " had " << curr << " while previous column had " << prev;
87 throw ParquetException(ss.str());
88}
89
90// ----------------------------------------------------------------------
91// RowGroupSerializer

Callers 1

CheckRowsWrittenMethod · 0.85

Calls 2

ParquetExceptionFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected