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

Function print_tsv_with_header

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

Source from the content-addressed store, hash-verified

300
301 #[test]
302 fn print_tsv_with_header() {
303 let output = PrintBatchesTest::new()
304 .with_format(PrintFormat::Tsv)
305 .with_batches(split_batch(&three_column_batch()))
306 .with_header(WithHeader::Yes)
307 .run();
308 assert_snapshot!(output, @r"
309 a b c
310 1 4 7
311 2 5 8
312 3 6 9
313 ");
314 }
315
316 #[test]
317 fn print_table() {

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…