We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86c8754 commit 253e49cCopy full SHA for 253e49c
datafusion/datasource-csv/src/file_format.rs
@@ -296,6 +296,13 @@ impl CsvFormat {
296
self
297
}
298
299
+ /// Set whether rows should be truncated to the column width
300
+ /// - defaults to false
301
+ pub fn with_truncate_rows(mut self, truncate_rows: bool) -> Self {
302
+ self.options.truncated_rows = Some(truncate_rows);
303
+ self
304
+ }
305
+
306
/// The delimiter character.
307
pub fn delimiter(&self) -> u8 {
308
self.options.delimiter
0 commit comments