MCPcopy Create free account
hub / github.com/apache/arrow / WriteCsvStringWithQuote

Function WriteCsvStringWithQuote

cpp/src/arrow/csv/writer_benchmark.cc:126–129  ·  view source on GitHub ↗

Exercise QuotedColumnPopulator with string (with quote)

Source from the content-addressed store, hash-verified

124
125// Exercise QuotedColumnPopulator with string (with quote)
126void WriteCsvStringWithQuote(benchmark::State& state) {
127 auto batch = MakeStrTestBatch(kCsvRows, kCsvCols, /*quote=*/true, state.range(0));
128 BenchmarkWriteCsv(state, WriteOptions::Defaults(), *batch);
129}
130
131// Exercise UnQuotedColumnPopulator with string
132// - caller guarantees there will be no quote in the inputs

Callers

nothing calls this directly

Calls 3

MakeStrTestBatchFunction · 0.85
BenchmarkWriteCsvFunction · 0.85
DefaultsFunction · 0.50

Tested by

no test coverage detected