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

Method with_null_regex

datafusion/datasource-csv/src/file_format.rs:235–238  ·  view source on GitHub ↗

Set the regex to use for null values in the CSV reader. - default to treat empty values as null.

(mut self, null_regex: Option<String>)

Source from the content-addressed store, hash-verified

233 /// Set the regex to use for null values in the CSV reader.
234 /// - default to treat empty values as null.
235 pub fn with_null_regex(mut self, null_regex: Option<String>) -> Self {
236 self.options.null_regex = null_regex;
237 self
238 }
239
240 /// Returns `Some(true)` if the first line is a header, `Some(false)` if
241 /// it is not, and `None` if it is not specified.

Callers 3

to_listing_optionsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected