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

Method build_sink_options

datafusion/core/src/dataframe/mod.rs:136–142  ·  view source on GitHub ↗

Build the options HashMap to pass to CopyTo for sink configuration.

(&self)

Source from the content-addressed store, hash-verified

134
135 /// Build the options HashMap to pass to CopyTo for sink configuration.
136 fn build_sink_options(&self) -> HashMap<String, String> {
137 let mut options = HashMap::new();
138 if let Some(single_file) = self.single_file_output {
139 options.insert("single_file_output".to_string(), single_file.to_string());
140 }
141 options
142 }
143}
144
145impl Default for DataFrameWriteOptions {

Callers 3

write_csvMethod · 0.80
write_jsonMethod · 0.80
write_parquetMethod · 0.80

Calls 3

newFunction · 0.85
insertMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected