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

Function WriteCsvStringRejectQuote

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

Exercise UnQuotedColumnPopulator with string - caller guarantees there will be no quote in the inputs

Source from the content-addressed store, hash-verified

131// Exercise UnQuotedColumnPopulator with string
132// - caller guarantees there will be no quote in the inputs
133void WriteCsvStringRejectQuote(benchmark::State& state) {
134 auto batch = MakeStrTestBatch(kCsvRows, kCsvCols, /*quote=*/false, state.range(0));
135 auto options = WriteOptions::Defaults();
136 options.quoting_style = QuotingStyle::None;
137 BenchmarkWriteCsv(state, options, *batch);
138}
139
140// Exercise QuotedColumnPopulator with integer
141// - check quote even for numeric type (is it useful?)

Callers

nothing calls this directly

Calls 3

MakeStrTestBatchFunction · 0.85
BenchmarkWriteCsvFunction · 0.85
DefaultsFunction · 0.50

Tested by

no test coverage detected