(t testing.TB, count int)
| 268 | } |
| 269 | |
| 270 | func 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 | |
| 282 | type ctxReaderAt struct { |
| 283 | readerAt io.ReaderAt |
no test coverage detected