Skip to content

Commit

Permalink
Removes parquet page file buffer in symbdb (#2820)
Browse files Browse the repository at this point in the history
  • Loading branch information
cyriltovena committed Dec 8, 2023
1 parent 6b00f62 commit d8e5089
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/phlaredb/symdb/block_writer.go
Expand Up @@ -292,7 +292,6 @@ func (s *parquetWriter[M, P]) init(dir string, c ParquetConfig) (err error) {
s.rowsBatch = make([]parquet.Row, 0, 128)
s.buffer = parquet.NewBuffer(s.persister.Schema(), parquet.ColumnBufferCapacity(s.config.MaxBufferRowCount))
s.writer = parquet.NewGenericWriter[P](s.file, s.persister.Schema(),
parquet.ColumnPageBuffers(parquet.NewFileBufferPool(os.TempDir(), "phlaredb-parquet-buffers*")),
parquet.CreatedBy("github.com/grafana/pyroscope/", build.Version, build.Revision),
parquet.PageBufferSize(3*1024*1024),
)
Expand Down

0 comments on commit d8e5089

Please sign in to comment.