mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Experiments with next parquet version. Added rounded start time column * Vparquet5 use lower precision timestamp column when possible based on step interval * microoptimization * leftjoiniterator use dynamic branch reordering, plus other performance improvements * Add columns with other granularities * Add new functionality: nocompactflg and short trace ID search * Fix handling of large step intervals and split between backend and generator requests * Repair tests and reduce divergence from main * Cleanup, separate benchmark env vars * Set version string to preview * rename/comments * Oops undo change to default encoding * Fix tests and lint * Bring in more updates from vparquet4 * Improve accuracy of estimate function, cleanup debug statements * Reduce diff from main * lint * Add test parquet file * Fix to maintain nano-second precision for blocks overlapping query range edges and recent/backend handoff where things don't align * Fix tests after merging main, one more fix to maintain nanosecond precision when needed * changelog * Cleanup/reduce diff from main * Review feedback
19 lines
324 B
Go
19 lines
324 B
Go
package vparquet5
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/grafana/tempo/tempodb/encoding/common"
|
|
"github.com/parquet-go/parquet-go"
|
|
)
|
|
|
|
type TraceIterator interface {
|
|
NextTrace(context.Context) (common.ID, *Trace, error)
|
|
Close()
|
|
}
|
|
|
|
type RawIterator interface {
|
|
Next(context.Context) (common.ID, parquet.Row, error)
|
|
Close()
|
|
}
|