diff --git a/go.mod b/go.mod index 2d2c217a473..db510567e1a 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22 require ( cloud.google.com/go/storage v1.40.0 github.com/alecthomas/kong v0.9.0 - github.com/apache/arrow/go/v15 v15.0.2 + github.com/apache/arrow/go/v16 v16.0.0 github.com/cenkalti/backoff/v4 v4.3.0 github.com/cespare/xxhash/v2 v2.3.0 github.com/common-nighthawk/go-figure v0.0.0-20210622060536-734e95fb86be @@ -32,7 +32,7 @@ require ( github.com/olekukonko/tablewriter v0.0.5 github.com/parquet-go/parquet-go v0.20.1 github.com/planetscale/vtprotobuf v0.6.0 - github.com/polarsignals/frostdb v0.0.0-20240418145630-1fad9e69a7f8 + github.com/polarsignals/frostdb v0.0.0-20240425170350-d0d91b6bdc4b github.com/prometheus/client_golang v1.19.0 github.com/prometheus/common v0.53.0 github.com/prometheus/prometheus v0.51.2 @@ -78,9 +78,9 @@ require ( github.com/Code-Hex/go-generics-cache v1.3.1 // indirect github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c // indirect github.com/Microsoft/go-winio v0.6.1 // indirect - github.com/RoaringBitmap/roaring v1.9.2 // indirect + github.com/RoaringBitmap/roaring v1.9.3 // indirect github.com/aliyun/aliyun-oss-go-sdk v2.2.2+incompatible // indirect - github.com/andybalholm/brotli v1.0.6 // indirect + github.com/andybalholm/brotli v1.1.0 // indirect github.com/armon/go-metrics v0.4.1 // indirect github.com/aws/aws-sdk-go v1.50.32 // indirect github.com/aws/aws-sdk-go-v2 v1.16.0 // indirect @@ -137,7 +137,7 @@ require ( github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/golang/snappy v0.0.4 // indirect - github.com/google/flatbuffers v23.5.26+incompatible // indirect + github.com/google/flatbuffers v24.3.25+incompatible // indirect github.com/google/gnostic-models v0.6.8 // indirect github.com/google/go-cmp v0.6.0 // indirect github.com/google/go-querystring v1.1.0 // indirect @@ -148,6 +148,7 @@ require ( github.com/gophercloud/gophercloud v1.8.0 // indirect github.com/gorilla/websocket v1.5.0 // indirect github.com/grafana/regexp v0.0.0-20221122212121-6b5c0a4cb7fd // indirect + github.com/hamba/avro/v2 v2.20.1 // indirect github.com/hashicorp/consul/api v1.28.2 // indirect github.com/hashicorp/cronexpr v1.1.2 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect @@ -168,7 +169,7 @@ require ( github.com/josharian/intern v1.0.0 // indirect github.com/jpillora/backoff v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/klauspost/cpuid/v2 v2.2.5 // indirect + github.com/klauspost/cpuid/v2 v2.2.7 // indirect github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b // indirect github.com/kylelemons/godebug v1.1.0 // indirect github.com/linode/linodego v1.29.0 // indirect @@ -190,15 +191,17 @@ require ( github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect github.com/ncw/swift v1.0.53 // indirect + github.com/oklog/ulid v1.3.1 // indirect github.com/oklog/ulid/v2 v2.1.0 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.0-rc4 // indirect github.com/oracle/oci-go-sdk/v65 v65.41.1 // indirect github.com/ovh/go-ovh v1.4.3 // indirect - github.com/pierrec/lz4/v4 v4.1.18 // indirect + github.com/pierrec/lz4/v4 v4.1.21 // indirect github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect github.com/pkg/errors v0.9.1 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/polarsignals/iceberg-go v0.0.0-20240425142915-8b8ebf99abbd // indirect github.com/polarsignals/wal v0.0.0-20231123092250-5d233119cfc9 // indirect github.com/prometheus/client_model v0.6.0 // indirect github.com/prometheus/procfs v0.12.0 // indirect diff --git a/go.sum b/go.sum index 7be0f97fc95..ed2a580979b 100644 --- a/go.sum +++ b/go.sum @@ -46,8 +46,8 @@ github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= github.com/QcloudApi/qcloud_sign_golang v0.0.0-20141224014652-e4130a326409/go.mod h1:1pk82RBxDY/JZnPQrtqHlUFfCctgdorsd9M06fMynOM= -github.com/RoaringBitmap/roaring v1.9.2 h1:TjoelXOmLrpjbDTzXwr6F17pusrgqUeBE2lp9N6YHRg= -github.com/RoaringBitmap/roaring v1.9.2/go.mod h1:6AXUsoIEzDTFFQCe1RbGA6uFONMhvejWj5rqITANK90= +github.com/RoaringBitmap/roaring v1.9.3 h1:t4EbC5qQwnisr5PrP9nt0IRhRTb9gMUgQF4t4S2OByM= +github.com/RoaringBitmap/roaring v1.9.3/go.mod h1:6AXUsoIEzDTFFQCe1RbGA6uFONMhvejWj5rqITANK90= github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g= @@ -67,10 +67,10 @@ github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 h1:ez/4by2iGztzR4 github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= github.com/aliyun/aliyun-oss-go-sdk v2.2.2+incompatible h1:9gWa46nstkJ9miBReJcN8Gq34cBFbzSpQZVVT9N09TM= github.com/aliyun/aliyun-oss-go-sdk v2.2.2+incompatible/go.mod h1:T/Aws4fEfogEE9v+HPhhw+CntffsBHJ8nXQCwKr0/g8= -github.com/andybalholm/brotli v1.0.6 h1:Yf9fFpf49Zrxb9NlQaluyE92/+X7UVHlhMNJN2sxfOI= -github.com/andybalholm/brotli v1.0.6/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig= -github.com/apache/arrow/go/v15 v15.0.2 h1:60IliRbiyTWCWjERBCkO1W4Qun9svcYoZrSLcyOsMLE= -github.com/apache/arrow/go/v15 v15.0.2/go.mod h1:DGXsR3ajT524njufqf95822i+KTh+yea1jass9YXgjA= +github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1U3M= +github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY= +github.com/apache/arrow/go/v16 v16.0.0 h1:qRLbJRPj4zaseZrjbDHa7mUoZDDIU+4pu+mE2Lucs5g= +github.com/apache/arrow/go/v16 v16.0.0/go.mod h1:9wnc9mn6vEDTRIm4+27pEjQpRKuTvBaessPoEXQzxWA= github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= @@ -357,8 +357,8 @@ github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Z github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/btree v1.1.2 h1:xf4v41cLI2Z6FxbKm+8Bu+m8ifhj15JuZ9sa0jZCMUU= github.com/google/btree v1.1.2/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4= -github.com/google/flatbuffers v23.5.26+incompatible h1:M9dgRyhJemaM4Sw8+66GHBu8ioaQmyPLg1b8VwK5WJg= -github.com/google/flatbuffers v23.5.26+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/flatbuffers v24.3.25+incompatible h1:CX395cjN9Kke9mmalRoL3d81AtFUxJM+yDthflgJGkI= +github.com/google/flatbuffers v24.3.25+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -418,6 +418,8 @@ github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgf github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 h1:/c3QmbOGMGTOumP2iT/rCwB7b0QDGLKzqOmktBjT+Is= github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1/go.mod h1:5SN9VR2LTsRFsrEC6FHgRbTWrTHu6tqPeKxEQv15giM= +github.com/hamba/avro/v2 v2.20.1 h1:3WByQiVn7wT7d27WQq6pvBRC00FVOrniP6u67FLA/2E= +github.com/hamba/avro/v2 v2.20.1/go.mod h1:xHiKXbISpb3Ovc809XdzWow+XGTn+Oyf/F9aZbTLAig= github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE= github.com/hashicorp/consul/api v1.28.2 h1:mXfkRHrpHN4YY3RqL09nXU1eHKLNiuAN4kHvDQ16k/8= github.com/hashicorp/consul/api v1.28.2/go.mod h1:KyzqzgMEya+IZPcD65YFoOVAgPpbfERu4I/tzG6/ueE= @@ -528,8 +530,8 @@ github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYs github.com/klauspost/compress v1.17.8 h1:YcnTYrq7MikUT7k0Yb5eceMmALQPYBW/Xltxn0NAMnU= github.com/klauspost/compress v1.17.8/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg= -github.com/klauspost/cpuid/v2 v2.2.5 h1:0E5MSMDEoAulmXNFquVs//DdoomxaoTY1kUhbc/qbZg= -github.com/klauspost/cpuid/v2 v2.2.5/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= +github.com/klauspost/cpuid/v2 v2.2.7 h1:ZWSB3igEs+d0qvnxR/ZBzXVmxkgt8DdzP6m9pfuVLDM= +github.com/klauspost/cpuid/v2 v2.2.7/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b h1:udzkj9S/zlT5X367kqJis0QP7YMxobob6zhzq6Yre00= github.com/kolo/xmlrpc v0.0.0-20220921171641-a4b6fa1dd06b/go.mod h1:pcaDhQK0/NJZEvtCO0qQPPropqV0sJOJ6YW7X+9kRwM= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= @@ -690,8 +692,8 @@ github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNc github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= -github.com/pierrec/lz4/v4 v4.1.18 h1:xaKrnTkyoqfh1YItXl56+6KJNVYWlEEPuAQW9xsplYQ= -github.com/pierrec/lz4/v4 v4.1.18/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= +github.com/pierrec/lz4/v4 v4.1.21 h1:yOVMLb6qSIDP67pl/5F7RepeKYu/VmTyEXvuMI5d9mQ= +github.com/pierrec/lz4/v4 v4.1.21/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4= github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= @@ -704,8 +706,10 @@ github.com/planetscale/vtprotobuf v0.6.0/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/polarsignals/frostdb v0.0.0-20240418145630-1fad9e69a7f8 h1:PGCN3rSAGWlbBzQzRfjFnGi47OSc3fWlqylOA4hL3mA= -github.com/polarsignals/frostdb v0.0.0-20240418145630-1fad9e69a7f8/go.mod h1:Z0pfrWmSNvmGSMWABZXjXFdh/k7G1bS+14A1JW0HYf4= +github.com/polarsignals/frostdb v0.0.0-20240425170350-d0d91b6bdc4b h1:3OsGPebcIxXLWi9tFvflmH4Z/Jag/dCvLymOIcT02P8= +github.com/polarsignals/frostdb v0.0.0-20240425170350-d0d91b6bdc4b/go.mod h1:3vPLdpmCIirADJOVh6EsTR78kdfSysB8v9LvZNLt4Yo= +github.com/polarsignals/iceberg-go v0.0.0-20240425142915-8b8ebf99abbd h1:Ox7VbRfsavOSuPhd3Amp75W7fRK8vcLoXkNP1jkhdDQ= +github.com/polarsignals/iceberg-go v0.0.0-20240425142915-8b8ebf99abbd/go.mod h1:Pr0quSmxIq62T5G+tEkU/wtnvNIPxpLTWdhhZ4sqxEo= github.com/polarsignals/wal v0.0.0-20231123092250-5d233119cfc9 h1:SwUso/MRikI7aLlEelX4k6N107fT4uTAzmtyMTfjr44= github.com/polarsignals/wal v0.0.0-20231123092250-5d233119cfc9/go.mod h1:EVDHAAe+7GQ33A1/x+/gE+sBPN4toQ0XG5RoLD49xr8= github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= @@ -1079,8 +1083,8 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 h1:+cNy6SZtPcJQH3LJVLOSmiC7MMxXNOb3PU/VUEz+EhU= golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= -gonum.org/v1/gonum v0.12.0 h1:xKuo6hzt+gMav00meVPUlXwSdoEJP46BR+wdxQEFK2o= -gonum.org/v1/gonum v0.12.0/go.mod h1:73TDxJfAAHeA8Mk9mf8NlIppyhQNo5GLTcYeqgo2lvY= +gonum.org/v1/gonum v0.15.0 h1:2lYxjRbTYyxkJxlhC+LvJIx3SsANPdRybu1tGj9/OrQ= +gonum.org/v1/gonum v0.15.0/go.mod h1:xzZVBJBtS+Mz4q0Yl2LJTk+OxOg4jiXZ7qBoM0uISGo= google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= google.golang.org/api v0.176.1 h1:DJSXnV6An+NhJ1J+GWtoF2nHEuqB1VNoTfnIbjNvwD4= google.golang.org/api v0.176.1/go.mod h1:j2MaSDYcvYV1lkZ1+SMW4IeF90SrEyFA+tluDYWRrFg= diff --git a/pkg/ingester/ingester.go b/pkg/ingester/ingester.go index 42ab9cc4c1e..ea30d537a5b 100644 --- a/pkg/ingester/ingester.go +++ b/pkg/ingester/ingester.go @@ -18,9 +18,9 @@ import ( "context" "sync" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/go-kit/log" "github.com/polarsignals/frostdb/dynparquet" diff --git a/pkg/ingester/ingester_test.go b/pkg/ingester/ingester_test.go index 50796690768..5be3fa957d4 100644 --- a/pkg/ingester/ingester_test.go +++ b/pkg/ingester/ingester_test.go @@ -21,8 +21,8 @@ import ( "os" "testing" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/go-kit/log" "github.com/polarsignals/frostdb/dynparquet" "github.com/stretchr/testify/require" diff --git a/pkg/normalizer/sample.go b/pkg/normalizer/sample.go index 6c9ad5771e1..6ef3e9196bf 100644 --- a/pkg/normalizer/sample.go +++ b/pkg/normalizer/sample.go @@ -17,8 +17,8 @@ import ( "context" "fmt" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/parquet-go/parquet-go" "github.com/polarsignals/frostdb/dynparquet" "github.com/polarsignals/frostdb/pqarrow" diff --git a/pkg/parca/parca.go b/pkg/parca/parca.go index 0ada0219196..486a0d81bf1 100644 --- a/pkg/parca/parca.go +++ b/pkg/parca/parca.go @@ -28,7 +28,7 @@ import ( "syscall" "time" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/dgraph-io/badger/v4" "github.com/go-kit/log" "github.com/go-kit/log/level" diff --git a/pkg/parca/parca_test.go b/pkg/parca/parca_test.go index 46db15ff07c..fa81f5bda93 100644 --- a/pkg/parca/parca_test.go +++ b/pkg/parca/parca_test.go @@ -26,7 +26,7 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/cenkalti/backoff/v4" "github.com/go-kit/log" "github.com/google/pprof/profile" diff --git a/pkg/parcacol/arrow.go b/pkg/parcacol/arrow.go index 96b922b1ed3..3c70026e13a 100644 --- a/pkg/parcacol/arrow.go +++ b/pkg/parcacol/arrow.go @@ -19,9 +19,9 @@ import ( "strings" "unsafe" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/memory" "go.opentelemetry.io/otel/trace" pb "github.com/parca-dev/parca/gen/proto/go/parca/metastore/v1alpha1" diff --git a/pkg/parcacol/arrow_test.go b/pkg/parcacol/arrow_test.go index 335d8df8f98..c429f4c74a1 100644 --- a/pkg/parcacol/arrow_test.go +++ b/pkg/parcacol/arrow_test.go @@ -16,7 +16,7 @@ package parcacol import ( "testing" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/stretchr/testify/require" pb "github.com/parca-dev/parca/gen/proto/go/parca/metastore/v1alpha1" diff --git a/pkg/parcacol/querier.go b/pkg/parcacol/querier.go index fd3656edbfb..e8f7a28b186 100644 --- a/pkg/parcacol/querier.go +++ b/pkg/parcacol/querier.go @@ -21,10 +21,10 @@ import ( "strings" "time" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/memory" - "github.com/apache/arrow/go/v15/arrow/scalar" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v16/arrow/scalar" "github.com/go-kit/log" "github.com/polarsignals/frostdb/pqarrow/arrowutils" "github.com/polarsignals/frostdb/query" diff --git a/pkg/profile/encode_test.go b/pkg/profile/encode_test.go index a8465b99f68..8a87b084dd4 100644 --- a/pkg/profile/encode_test.go +++ b/pkg/profile/encode_test.go @@ -16,7 +16,7 @@ package profile import ( "testing" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow/memory" pprofpb "github.com/parca-dev/parca/gen/proto/go/google/pprof" ) diff --git a/pkg/profile/profile.go b/pkg/profile/profile.go index fa3aa3fc1e9..53a301bbe46 100644 --- a/pkg/profile/profile.go +++ b/pkg/profile/profile.go @@ -16,7 +16,7 @@ package profile import ( "time" - "github.com/apache/arrow/go/v15/arrow" + "github.com/apache/arrow/go/v16/arrow" pprofproto "github.com/parca-dev/parca/gen/proto/go/google/pprof" pb "github.com/parca-dev/parca/gen/proto/go/parca/metastore/v1alpha1" diff --git a/pkg/profile/reader.go b/pkg/profile/reader.go index 6b1dcc751a6..a6bdb6c5c5e 100644 --- a/pkg/profile/reader.go +++ b/pkg/profile/reader.go @@ -16,8 +16,8 @@ package profile import ( "strings" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" ) type LabelColumn struct { diff --git a/pkg/profile/writer.go b/pkg/profile/writer.go index 7ffed199c39..6da4698851e 100644 --- a/pkg/profile/writer.go +++ b/pkg/profile/writer.go @@ -14,9 +14,9 @@ package profile import ( - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/memory" ) type Writer struct { diff --git a/pkg/profilestore/profilestore_test.go b/pkg/profilestore/profilestore_test.go index af618fb810c..06e342ea305 100644 --- a/pkg/profilestore/profilestore_test.go +++ b/pkg/profilestore/profilestore_test.go @@ -18,7 +18,7 @@ import ( "os" "testing" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/go-kit/log" "github.com/polarsignals/frostdb" "github.com/prometheus/client_golang/prometheus" diff --git a/pkg/query/columnquery.go b/pkg/query/columnquery.go index 34b59efbd86..7c121eddf2e 100644 --- a/pkg/query/columnquery.go +++ b/pkg/query/columnquery.go @@ -22,11 +22,11 @@ import ( "sync" "time" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/bitutil" - "github.com/apache/arrow/go/v15/arrow/math" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/bitutil" + "github.com/apache/arrow/go/v16/arrow/math" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/go-kit/log" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" diff --git a/pkg/query/columnquery_test.go b/pkg/query/columnquery_test.go index 6e74a0d1116..fadeed0af6a 100644 --- a/pkg/query/columnquery_test.go +++ b/pkg/query/columnquery_test.go @@ -23,8 +23,8 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/go-kit/log" pprofprofile "github.com/google/pprof/profile" columnstore "github.com/polarsignals/frostdb" diff --git a/pkg/query/flamegraph_arrow.go b/pkg/query/flamegraph_arrow.go index 970b9f5720e..a8fd76321ad 100644 --- a/pkg/query/flamegraph_arrow.go +++ b/pkg/query/flamegraph_arrow.go @@ -22,11 +22,11 @@ import ( "strings" "unsafe" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/ipc" - "github.com/apache/arrow/go/v15/arrow/math" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/ipc" + "github.com/apache/arrow/go/v16/arrow/math" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/olekukonko/tablewriter" "github.com/polarsignals/frostdb/pqarrow/builder" "github.com/zeebo/xxh3" diff --git a/pkg/query/flamegraph_arrow_test.go b/pkg/query/flamegraph_arrow_test.go index 6084255dd73..b4bc0985121 100644 --- a/pkg/query/flamegraph_arrow_test.go +++ b/pkg/query/flamegraph_arrow_test.go @@ -25,10 +25,10 @@ import ( "strings" "testing" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/ipc" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/ipc" + "github.com/apache/arrow/go/v16/arrow/memory" pprofprofile "github.com/google/pprof/profile" "github.com/prometheus/prometheus/model/labels" "github.com/stretchr/testify/require" diff --git a/pkg/query/flamegraph_table_test.go b/pkg/query/flamegraph_table_test.go index 5e73ef8ea45..960ed6a83b6 100644 --- a/pkg/query/flamegraph_table_test.go +++ b/pkg/query/flamegraph_table_test.go @@ -19,7 +19,7 @@ import ( "sort" "testing" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow/memory" pprofprofile "github.com/google/pprof/profile" "github.com/stretchr/testify/require" "go.opentelemetry.io/otel/trace/noop" diff --git a/pkg/query/pprof.go b/pkg/query/pprof.go index f7d53e35bae..83b0fd54389 100644 --- a/pkg/query/pprof.go +++ b/pkg/query/pprof.go @@ -21,8 +21,8 @@ import ( "fmt" "strings" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" pprofpb "github.com/parca-dev/parca/gen/proto/go/google/pprof" parcaprofile "github.com/parca-dev/parca/pkg/profile" diff --git a/pkg/query/query_test.go b/pkg/query/query_test.go index 5774c0b4ad2..f6f2228189c 100644 --- a/pkg/query/query_test.go +++ b/pkg/query/query_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/go-kit/log" "github.com/polarsignals/frostdb" columnstore "github.com/polarsignals/frostdb" diff --git a/pkg/query/sources.go b/pkg/query/sources.go index 57230cd2cef..cc119973d00 100644 --- a/pkg/query/sources.go +++ b/pkg/query/sources.go @@ -18,11 +18,11 @@ import ( "context" "strings" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/ipc" - "github.com/apache/arrow/go/v15/arrow/math" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/ipc" + "github.com/apache/arrow/go/v16/arrow/math" + "github.com/apache/arrow/go/v16/arrow/memory" "go.opentelemetry.io/otel/trace" pb "github.com/parca-dev/parca/gen/proto/go/parca/query/v1alpha1" diff --git a/pkg/query/sources_test.go b/pkg/query/sources_test.go index 9e93e543754..b7c6209e872 100644 --- a/pkg/query/sources_test.go +++ b/pkg/query/sources_test.go @@ -19,7 +19,7 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/go-kit/log" "github.com/stretchr/testify/require" "github.com/thanos-io/objstore" diff --git a/pkg/query/table.go b/pkg/query/table.go index 77d08d7071a..9c050d547e9 100644 --- a/pkg/query/table.go +++ b/pkg/query/table.go @@ -18,11 +18,11 @@ import ( "context" "fmt" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/ipc" - "github.com/apache/arrow/go/v15/arrow/math" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/ipc" + "github.com/apache/arrow/go/v16/arrow/math" + "github.com/apache/arrow/go/v16/arrow/memory" "github.com/polarsignals/frostdb/pqarrow/builder" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" diff --git a/pkg/query/table_test.go b/pkg/query/table_test.go index cdb0dcc02d8..755e082c2f3 100644 --- a/pkg/query/table_test.go +++ b/pkg/query/table_test.go @@ -17,9 +17,9 @@ import ( "context" "testing" - "github.com/apache/arrow/go/v15/arrow" - "github.com/apache/arrow/go/v15/arrow/array" - "github.com/apache/arrow/go/v15/arrow/memory" + "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v16/arrow/memory" pprofprofile "github.com/google/pprof/profile" "github.com/stretchr/testify/require" "go.opentelemetry.io/otel/trace/noop"