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

Function BuildDecimal128Data

cpp/src/arrow/csv/converter_benchmark.cc:65–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65static std::shared_ptr<BlockParser> BuildDecimal128Data(int32_t num_rows) {
66 const std::vector<std::string> base_rows = {"0\n", "123.456\n", "-3170.55766\n",
67 "\n", "N/A\n", "1233456789.123456789"};
68 return BuildFromExamples(base_rows, num_rows);
69}
70
71static std::shared_ptr<BlockParser> BuildStringData(int32_t num_rows) {
72 return BuildDecimal128Data(num_rows);

Callers 2

BuildStringDataFunction · 0.85
Decimal128ConversionFunction · 0.85

Calls 1

BuildFromExamplesFunction · 0.85

Tested by

no test coverage detected