Build the options HashMap to pass to CopyTo for sink configuration.
(&self)
| 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 | |
| 145 | impl Default for DataFrameWriteOptions { |
no test coverage detected