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

Method Validate

cpp/src/arrow/table.cc:182–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180 }
181
182 Status Validate() const override {
183 RETURN_NOT_OK(ValidateMeta());
184 for (int i = 0; i < num_columns(); ++i) {
185 const ChunkedArray* col = columns_[i].get();
186 Status st = col->Validate();
187 if (!st.ok()) {
188 std::stringstream ss;
189 ss << "Column " << i << ": " << st.message();
190 return st.WithMessage(ss.str());
191 }
192 }
193 return Status::OK();
194 }
195
196 Status ValidateFull() const override {
197 RETURN_NOT_OK(ValidateMeta());

Callers 2

ValidateMetaMethod · 0.45
TableBatchReaderMethod · 0.45

Calls 5

strMethod · 0.80
num_columnsFunction · 0.70
OKFunction · 0.70
getMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected