Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

Commit ab6f671

Browse files
committed
Revert "serialize intervalHint field as well"
This reverts commit 56ca6f4.
1 parent 905663c commit ab6f671

File tree

2 files changed

+8
-30
lines changed

2 files changed

+8
-30
lines changed

mdata/chunk/itergen.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var (
1515
//go:generate msgp
1616
type IterGen struct {
1717
T0 uint32
18-
IntervalHint uint32 // a hint wrt expected alignment of points. useful to recover delta overflows in tsz.Series4h, not used for other formats
18+
intervalHint uint32 // a hint wrt expected alignment of points. useful to recover delta overflows in tsz.Series4h
1919
B []byte
2020
}
2121

@@ -53,12 +53,12 @@ func (ig *IterGen) Get() (tsz.Iter, error) {
5353
src := ig.B[1:]
5454
dest := make([]byte, len(src))
5555
copy(dest, src)
56-
return tsz.NewIterator4h(dest, ig.IntervalHint)
56+
return tsz.NewIterator4h(dest, ig.intervalHint)
5757
case FormatStandardGoTszWithSpan:
5858
src := ig.B[2:]
5959
dest := make([]byte, len(src))
6060
copy(dest, src)
61-
return tsz.NewIterator4h(dest, ig.IntervalHint)
61+
return tsz.NewIterator4h(dest, ig.intervalHint)
6262
case FormatGoTszLongWithSpan:
6363
src := ig.B[2:]
6464
dest := make([]byte, len(src))

mdata/chunk/itergen_gen.go

+5-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)