Skip to content

Commit

Permalink
Zed update through "add support for arbitrary pool keys" by mccanne
Browse files Browse the repository at this point in the history
This is an auto-generated commit with a Zed dependency update. The Zed PR
brimdata/super#2729, authored by @mccanne,
has been merged.

add support for arbitrary pool keys

The backend previously presumed the pool key was of type time.
This commit generalizes the scanning logic to allow pool keys of any type.

The seek index has been simplified to use a simple, flat
index that is no longer a "micro index".  Instead it is a simple,
single-level list of keys that is used at open to get the
scan range for a row object when the scan is smaller than the
whole object.  This design presumes the index will be cached
when running multiple queries over a sub-range within a row object.

While updating tests, we noticed the segment size and row_size
fields were virtually the same so we deleted the size field.

As part of this commit, the index package was updated to use
zson format for key parsing instead of the deprecated tzng format,
so we removed zio/tzngio/builder.go.

Closes brimdata/super#2482
  • Loading branch information
Brim Automation committed May 19, 2021
1 parent f8e901e commit ecfe8e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/brimdata/brimcap
go 1.16

require (
github.com/brimdata/zed v0.29.1-0.20210519174021-7c92f41f09b7
github.com/brimdata/zed v0.29.1-0.20210519185800-dcce5c223481
github.com/fsnotify/fsnotify v1.4.9
github.com/golang/mock v1.5.0
github.com/google/gopacket v1.1.19
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ github.com/axiomhq/hyperloglog v0.0.0-20191112132149-a4c4c47bc57f/go.mod h1:2stg
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/brimdata/zed v0.29.1-0.20210519174021-7c92f41f09b7 h1:vpfeQrY2v6g+Q8e7Wo9JqPWEsazf9xT9E1YUT06E3Zc=
github.com/brimdata/zed v0.29.1-0.20210519174021-7c92f41f09b7/go.mod h1:qfj6p4h0TQIyKtyuqltO3jneIUP6C1hRS5THEul7Rls=
github.com/brimdata/zed v0.29.1-0.20210519185800-dcce5c223481 h1:kNFyLXSOOAW4QWfmn/v1l4OJ5QxKss8hU1QS+tW4d8A=
github.com/brimdata/zed v0.29.1-0.20210519185800-dcce5c223481/go.mod h1:qfj6p4h0TQIyKtyuqltO3jneIUP6C1hRS5THEul7Rls=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
Expand Down

0 comments on commit ecfe8e8

Please sign in to comment.