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

Function print_csv_no_header

datafusion-cli/src/print_format.rs:259–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

257
258 #[test]
259 fn print_csv_no_header() {
260 let output = PrintBatchesTest::new()
261 .with_format(PrintFormat::Csv)
262 .with_batches(split_batch(&three_column_batch()))
263 .with_header(WithHeader::No)
264 .run();
265 assert_snapshot!(output, @r"
266 1,4,7
267 2,5,8
268 3,6,9
269 ");
270 }
271
272 #[test]
273 fn print_csv_with_header() {

Callers

nothing calls this directly

Calls 7

newFunction · 0.85
three_column_batchFunction · 0.85
split_batchFunction · 0.70
runMethod · 0.45
with_headerMethod · 0.45
with_batchesMethod · 0.45
with_formatMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…