MCPcopy Create free account
hub / github.com/apache/arrow-rs / skip_validation

Method skip_validation

arrow-data/src/data.rs:2246–2251  ·  view source on GitHub ↗

Skips validation of the data. If this flag is enabled, `[Self::build`] will skip validation of the data If this flag is not enabled, `[Self::build`] will validate that all buffers are valid and will return an error if any data is invalid. Validation can be expensive. # Safety If validation is skipped, the buffers must form a valid Arrow array, otherwise undefined behavior will result

(mut self, skip_validation: bool)

Source from the content-addressed store, hash-verified

2244 /// If validation is skipped, the buffers must form a valid Arrow array,
2245 /// otherwise undefined behavior will result
2246 pub unsafe fn skip_validation(mut self, skip_validation: bool) -> Self {
2247 unsafe {
2248 self.skip_validation.set(skip_validation);
2249 }
2250 self
2251 }
2252}
2253
2254impl From<ArrayData> for ArrayDataBuilder {

Callers 2

build_uncheckedMethod · 0.80

Calls 1

setMethod · 0.45

Tested by

no test coverage detected