From 543646d8e1005fa260cd41c9d115757a514c706f Mon Sep 17 00:00:00 2001 From: Brim Automation Date: Wed, 19 May 2021 18:59:01 +0000 Subject: [PATCH] Zed update through "add support for arbitrary pool keys" by mccanne This is an auto-generated commit with a Zed dependency update. The Zed PR https://github.com/brimdata/zed/pull/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/zed#2482 --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index cc51dba2..b5487d34 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index 8cf7bda2..e91562a8 100644 --- a/go.sum +++ b/go.sum @@ -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=