| 31 | namespace arrow::benchmarks { |
| 32 | |
| 33 | std::shared_ptr<Schema> ExampleSchema() { |
| 34 | auto f0 = field("f0", utf8()); |
| 35 | auto f1 = field("f1", timestamp(TimeUnit::MICRO, "UTC")); |
| 36 | auto f2 = field("f2", int64()); |
| 37 | auto f3 = field("f3", int16()); |
| 38 | auto f4 = field("f4", int16()); |
| 39 | auto f5 = field("f5", float32()); |
| 40 | auto f6 = field("f6", float32()); |
| 41 | auto f7 = field("f7", float32()); |
| 42 | auto f8 = field("f8", decimal128(19, 10)); |
| 43 | return schema({f0, f1, f2, f3, f4, f5, f6, f7, f8}); |
| 44 | } |
| 45 | |
| 46 | std::shared_ptr<RecordBatch> ExampleRecordBatch() { |
| 47 | // We don't care about the actual data, since it's exported as raw buffer pointers |
no test coverage detected