MCPcopy
hub / github.com/grafana/tempo / createTestFile

Function createTestFile

pkg/parquetquery/iters_test.go:270–280  ·  view source on GitHub ↗
(t testing.TB, count int)

Source from the content-addressed store, hash-verified

268}
269
270func createTestFile(t testing.TB, count int) *parquet.File {
271 type T struct{ A int }
272
273 rows := []T{}
274 for i := 0; i < count; i++ {
275 rows = append(rows, T{i})
276 }
277
278 pf := createFileWith(t, context.Background(), rows)
279 return pf
280}
281
282type ctxReaderAt struct {
283 readerAt io.ReaderAt

Callers 4

testColumnIteratorFunction · 0.85
testColumnIteratorSeekFunction · 0.85
benchmarkColumnIteratorFunction · 0.85

Calls 1

createFileWithFunction · 0.85

Tested by

no test coverage detected