MCPcopy Create free account
hub / github.com/apache/datafusion / with_scan_errors

Method with_scan_errors

datafusion/datasource/src/file_stream/mod.rs:274–277  ·  view source on GitHub ↗

Specify the index of files in the stream which should throw an error when scanning

(mut self, idx: Vec<usize>)

Source from the content-addressed store, hash-verified

272 /// Specify the index of files in the stream which should
273 /// throw an error when scanning
274 pub fn with_scan_errors(mut self, idx: Vec<usize>) -> Self {
275 self.opener.error_scanning_idx = idx;
276 self
277 }
278
279 /// Specify the behavior of the stream when an error occurs
280 pub fn with_on_error(mut self, on_error: OnError) -> Self {

Callers 3

on_error_scanning_failFunction · 0.80
on_error_scanningFunction · 0.80
on_error_mixedFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected