From 627a00ffae53ea53f8530d87675ba453c2043ab5 Mon Sep 17 00:00:00 2001 From: Matthias Loibl Date: Wed, 11 Dec 2024 13:38:13 +0100 Subject: [PATCH] Update to apache/arrow v17 --- aggregate_test.go | 6 +++--- bench_test.go | 6 +++--- cmd/parquet-tool/cmd/snapshot.go | 2 +- cmd/parquet-tool/cmd/util.go | 4 ++-- cmd/parquet-tool/cmd/wal.go | 2 +- cmd/parquet-tool/go.sum | 7 ++++--- db.go | 4 ++-- db_test.go | 6 +++--- dst/dst_test.go | 8 ++++---- dynparquet/hashed.go | 6 +++--- examples/aggregations/aggregations.go | 4 ++-- examples/simple/simple.go | 4 ++-- go.mod | 14 ++++++------- go.sum | 20 +++++++++---------- index/lsm.go | 4 ++-- index/lsm_test.go | 2 +- internal/records/record_builder.go | 6 +++--- internal/records/record_builder_test.go | 2 +- internal/records/record_reader.go | 4 ++-- logictest/logic_test.go | 2 +- logictest/runner.go | 6 +++--- parts/arrow.go | 4 ++-- parts/parquet.go | 2 +- parts/part.go | 2 +- parts/part_test.go | 2 +- pqarrow/arrow.go | 6 +++--- pqarrow/arrow_test.go | 6 +++--- pqarrow/arrowutils/groupranges.go | 4 ++-- pqarrow/arrowutils/merge.go | 6 +++--- pqarrow/arrowutils/merge_test.go | 6 +++--- pqarrow/arrowutils/nullarray.go | 4 ++-- pqarrow/arrowutils/schema.go | 4 ++-- pqarrow/arrowutils/schema_test.go | 4 ++-- pqarrow/arrowutils/sort.go | 6 +++--- pqarrow/arrowutils/sort_benchmark_test.go | 2 +- pqarrow/arrowutils/sort_test.go | 8 ++++---- pqarrow/arrowutils/utils.go | 6 +++--- pqarrow/builder/listbuilder.go | 8 ++++---- pqarrow/builder/optbuilders.go | 8 ++++---- pqarrow/builder/optbuilders_test.go | 6 +++--- pqarrow/builder/recordbuilder.go | 6 +++--- pqarrow/builder/utils.go | 6 +++--- pqarrow/convert/convert.go | 2 +- pqarrow/convert/convert_test.go | 2 +- pqarrow/parquet.go | 6 +++--- pqarrow/parquet_test.go | 6 +++--- pqarrow/writer/writer.go | 2 +- query/engine.go | 4 ++-- query/engine_test.go | 6 +++--- query/exprpb/engine.go | 4 ++-- query/exprpb/engine_test.go | 4 ++-- query/exprpb/proto.go | 6 +++--- query/logicalplan/builder.go | 2 +- query/logicalplan/builder_test.go | 2 +- query/logicalplan/expr.go | 4 ++-- query/logicalplan/logicalplan.go | 4 ++-- query/logicalplan/logicalplan_test.go | 2 +- query/logicalplan/optimize_test.go | 2 +- query/logicalplan/validate.go | 4 ++-- query/memory.go | 2 +- query/physicalplan/aggregate.go | 10 +++++----- query/physicalplan/aggregate_test.go | 6 +++--- query/physicalplan/binaryscalarexpr.go | 8 ++++---- query/physicalplan/binaryscalarexpr_test.go | 8 ++++---- query/physicalplan/distinct.go | 8 ++++---- query/physicalplan/filter.go | 8 ++++---- query/physicalplan/filter_test.go | 2 +- query/physicalplan/limit.go | 8 ++++---- query/physicalplan/ordered_aggregate.go | 6 +++--- query/physicalplan/ordered_aggregate_test.go | 6 +++--- query/physicalplan/ordered_synchronizer.go | 6 +++--- .../physicalplan/ordered_synchronizer_test.go | 6 +++--- query/physicalplan/physicalplan.go | 6 +++--- query/physicalplan/physicalplan_test.go | 4 ++-- query/physicalplan/project.go | 8 ++++---- query/physicalplan/regexpfilter.go | 4 ++-- query/physicalplan/sampler.go | 8 ++++---- query/physicalplan/sampler_test.go | 6 +++--- query/physicalplan/synchronize.go | 2 +- query/physicalplan/synchronize_test.go | 6 +++--- query/testing.go | 4 ++-- samples/example.go | 4 ++-- snapshot.go | 4 ++-- snapshot_test.go | 6 +++--- sqlparse/visitor.go | 4 ++-- table.go | 8 ++++---- table_test.go | 8 ++++---- wal/wal.go | 4 ++-- 88 files changed, 229 insertions(+), 228 deletions(-) diff --git a/aggregate_test.go b/aggregate_test.go index c9dba1865..5f63f1acc 100644 --- a/aggregate_test.go +++ b/aggregate_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/google/uuid" "github.com/stretchr/testify/require" diff --git a/bench_test.go b/bench_test.go index 60648eabb..cfbc782d8 100644 --- a/bench_test.go +++ b/bench_test.go @@ -10,9 +10,9 @@ import ( "testing" "time" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/google/uuid" "github.com/stretchr/testify/require" diff --git a/cmd/parquet-tool/cmd/snapshot.go b/cmd/parquet-tool/cmd/snapshot.go index 0692e524a..d4ee49a5c 100644 --- a/cmd/parquet-tool/cmd/snapshot.go +++ b/cmd/parquet-tool/cmd/snapshot.go @@ -11,7 +11,7 @@ import ( "os" "path/filepath" - "github.com/apache/arrow/go/v16/arrow/ipc" + "github.com/apache/arrow/go/v17/arrow/ipc" "github.com/spf13/cobra" "github.com/polarsignals/frostdb/dynparquet" diff --git a/cmd/parquet-tool/cmd/util.go b/cmd/parquet-tool/cmd/util.go index 14e61b921..25e53c67b 100644 --- a/cmd/parquet-tool/cmd/util.go +++ b/cmd/parquet-tool/cmd/util.go @@ -5,8 +5,8 @@ import ( "io" "os" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" "github.com/parquet-go/parquet-go" ) diff --git a/cmd/parquet-tool/cmd/wal.go b/cmd/parquet-tool/cmd/wal.go index bcf39f4bd..8bdf32422 100644 --- a/cmd/parquet-tool/cmd/wal.go +++ b/cmd/parquet-tool/cmd/wal.go @@ -3,7 +3,7 @@ package cmd import ( "bytes" - "github.com/apache/arrow/go/v16/arrow/ipc" + "github.com/apache/arrow/go/v17/arrow/ipc" "github.com/go-kit/log" "github.com/prometheus/client_golang/prometheus" "github.com/spf13/cobra" diff --git a/cmd/parquet-tool/go.sum b/cmd/parquet-tool/go.sum index abc2326c7..a9176f95a 100644 --- a/cmd/parquet-tool/go.sum +++ b/cmd/parquet-tool/go.sum @@ -6,10 +6,11 @@ github.com/andybalholm/brotli v1.1.0 h1:eLKJA0d02Lf0mVpIDgYnqXcUn0GqVmEFny3VuID1 github.com/andybalholm/brotli v1.1.0/go.mod h1:sms7XGricyQI9K10gOSf56VKKWS4oLer58Q+mhRPtnY= 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/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/arrow/go/v16 v16.1.0 h1:dwgfOya6s03CzH9JrjCBx6bkVb4yPD4ma3haj9p7FXI= github.com/apache/arrow/go/v16 v16.1.0/go.mod h1:9wnc9mn6vEDTRIm4+27pEjQpRKuTvBaessPoEXQzxWA= +github.com/apache/arrow/go/v17 v16.0.0 h1:qRLbJRPj4zaseZrjbDHa7mUoZDDIU+4pu+mE2Lucs5g= +github.com/apache/arrow/go/v17 v16.0.0/go.mod h1:9wnc9mn6vEDTRIm4+27pEjQpRKuTvBaessPoEXQzxWA= +github.com/apache/arrow/go/v17 v16.1.0 h1:dwgfOya6s03CzH9JrjCBx6bkVb4yPD4ma3haj9p7FXI= +github.com/apache/arrow/go/v17 v16.1.0/go.mod h1:9wnc9mn6vEDTRIm4+27pEjQpRKuTvBaessPoEXQzxWA= github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k= github.com/aymanbagabas/go-osc52/v2 v2.0.1/go.mod h1:uYgXzlJ7ZpABp8OJ+exZzJJhRNQ2ASbcXHWsFqH8hp8= github.com/benbjohnson/immutable v0.4.3 h1:GYHcksoJ9K6HyAUpGxwZURrbTkXA0Dh4otXGqbhdrjA= diff --git a/db.go b/db.go index 435f6cffb..897aa3cbd 100644 --- a/db.go +++ b/db.go @@ -15,8 +15,8 @@ import ( "sync/atomic" "time" - "github.com/apache/arrow/go/v16/arrow/ipc" - "github.com/apache/arrow/go/v16/arrow/util" + "github.com/apache/arrow/go/v17/arrow/ipc" + "github.com/apache/arrow/go/v17/arrow/util" "github.com/go-kit/log" "github.com/go-kit/log/level" "github.com/oklog/ulid/v2" diff --git a/db_test.go b/db_test.go index e726f9bfd..3525a64c5 100644 --- a/db_test.go +++ b/db_test.go @@ -14,9 +14,9 @@ import ( "testing" "time" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/go-kit/log/level" "github.com/google/uuid" "github.com/polarsignals/iceberg-go" diff --git a/dst/dst_test.go b/dst/dst_test.go index b6209b608..300b986b9 100644 --- a/dst/dst_test.go +++ b/dst/dst_test.go @@ -16,10 +16,10 @@ import ( "testing" "time" - "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" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/ipc" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/go-kit/log" "github.com/go-kit/log/level" "github.com/google/uuid" diff --git a/dynparquet/hashed.go b/dynparquet/hashed.go index 53c3ba5fa..809fe7c39 100644 --- a/dynparquet/hashed.go +++ b/dynparquet/hashed.go @@ -6,9 +6,9 @@ import ( "math" "strings" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/cespare/xxhash/v2" "github.com/dgryski/go-metro" ) diff --git a/examples/aggregations/aggregations.go b/examples/aggregations/aggregations.go index 4812fe645..7842045e2 100644 --- a/examples/aggregations/aggregations.go +++ b/examples/aggregations/aggregations.go @@ -5,8 +5,8 @@ import ( "fmt" "log" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/polarsignals/frostdb" "github.com/polarsignals/frostdb/query" diff --git a/examples/simple/simple.go b/examples/simple/simple.go index 370412468..6c0267431 100644 --- a/examples/simple/simple.go +++ b/examples/simple/simple.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/polarsignals/frostdb" "github.com/polarsignals/frostdb/query" diff --git a/go.mod b/go.mod index 9fb886b2f..68447a1ce 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ module github.com/polarsignals/frostdb -go 1.21 +go 1.23 require ( github.com/RoaringBitmap/roaring v1.9.4 - github.com/apache/arrow/go/v16 v16.1.0 + github.com/apache/arrow/go/v17 v17.0.0 github.com/cespare/xxhash/v2 v2.3.0 github.com/cockroachdb/datadriven v1.0.2 github.com/dgryski/go-metro v0.0.0-20211217172704-adc40b04c140 @@ -13,7 +13,7 @@ require ( github.com/google/uuid v1.6.0 github.com/oklog/ulid v1.3.1 github.com/oklog/ulid/v2 v2.1.0 - github.com/parquet-go/parquet-go v0.23.0 + github.com/parquet-go/parquet-go v0.24.0 github.com/pingcap/tidb/parser v0.0.0-20231013125129-93a834a6bf8d github.com/planetscale/vtprotobuf v0.6.0 github.com/polarsignals/iceberg-go v0.0.0-20240502213135-2ee70b71e76b @@ -50,7 +50,8 @@ require ( github.com/golang/snappy v0.0.4 // indirect github.com/google/flatbuffers v24.3.25+incompatible // indirect github.com/google/go-cmp v0.6.0 // indirect - github.com/hamba/avro/v2 v2.20.1 // indirect + github.com/hamba/avro/v2 v2.22.1 // indirect + github.com/huandu/xstrings v1.4.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/json-iterator/go v1.1.12 // indirect github.com/klauspost/compress v1.17.9 // indirect @@ -72,18 +73,17 @@ require ( github.com/prometheus/procfs v0.12.0 // indirect github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect github.com/rivo/uniseg v0.4.7 // indirect - github.com/segmentio/encoding v0.4.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/zeebo/xxh3 v1.0.2 // indirect go.etcd.io/bbolt v1.3.6 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.25.0 // indirect - golang.org/x/mod v0.17.0 // indirect + golang.org/x/mod v0.18.0 // indirect golang.org/x/net v0.26.0 // indirect golang.org/x/sys v0.21.0 // indirect golang.org/x/text v0.16.0 // indirect - golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect + golang.org/x/tools v0.22.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect diff --git a/go.sum b/go.sum index 283d3f054..28cc6dd99 100644 --- a/go.sum +++ b/go.sum @@ -5,8 +5,8 @@ github.com/RoaringBitmap/roaring v1.9.4 h1:yhEIoH4YezLYT04s1nHehNO64EKFTop/wBhxv github.com/RoaringBitmap/roaring v1.9.4/go.mod h1:6AXUsoIEzDTFFQCe1RbGA6uFONMhvejWj5rqITANK90= 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.1.0 h1:dwgfOya6s03CzH9JrjCBx6bkVb4yPD4ma3haj9p7FXI= -github.com/apache/arrow/go/v16 v16.1.0/go.mod h1:9wnc9mn6vEDTRIm4+27pEjQpRKuTvBaessPoEXQzxWA= +github.com/apache/arrow/go/v17 v17.0.0 h1:RRR2bdqKcdbss9Gxy2NS/hK8i4LDMh23L6BbkN5+F54= +github.com/apache/arrow/go/v17 v17.0.0/go.mod h1:jR7QHkODl15PfYyjM2nU+yTLScZ/qfj7OSUZmJ8putc= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/benbjohnson/clock v1.3.5 h1:VvXlSJBzZpA/zum6Sj74hxwYI2DIxRWuNIoXAzHZz5o= github.com/benbjohnson/clock v1.3.5/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= @@ -61,6 +61,8 @@ github.com/hamba/avro/v2 v2.19.0 h1:jITwvb03UMLfTFHFKdvaMyU/G96iVWS5EiMsqo3flfE= github.com/hamba/avro/v2 v2.19.0/go.mod h1:72DkWmMmAyZA+qHoI89u4RMCQ3X54vpEb1ap80iCIBg= github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= +github.com/huandu/xstrings v1.4.0 h1:D17IlohoQq4UcpqD7fDk80P7l+lwAmlFaBHgOipl2FU= +github.com/huandu/xstrings v1.4.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= @@ -94,8 +96,8 @@ github.com/oklog/ulid/v2 v2.1.0 h1:+9lhoxAP56we25tyYETBBY1YLA2SaoLvUFgrP2miPJU= github.com/oklog/ulid/v2 v2.1.0/go.mod h1:rcEKHmBBKfef9DhnvX7y1HZBYxjXb0cP5ExxNsTT1QQ= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= -github.com/parquet-go/parquet-go v0.23.0 h1:dyEU5oiHCtbASyItMCD2tXtT2nPmoPbKpqf0+nnGrmk= -github.com/parquet-go/parquet-go v0.23.0/go.mod h1:MnwbUcFHU6uBYMymKAlPPAw9yh3kE1wWl6Gl1uLdkNk= +github.com/parquet-go/parquet-go v0.24.0 h1:VrsifmLPDnas8zpoHmYiWDZ1YHzLmc7NmNwPGkI2JM4= +github.com/parquet-go/parquet-go v0.24.0/go.mod h1:OqBBRGBl7+llplCvDMql8dEKaDqjaFA/VAPw+OJiNiw= github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o= 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= @@ -136,8 +138,6 @@ github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUc github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/segmentio/encoding v0.4.0 h1:MEBYvRqiUB2nfR2criEXWqwdY6HJOUrCn5hboVOVmy8= -github.com/segmentio/encoding v0.4.0/go.mod h1:/d03Cd8PoaDeceuhUUUQWjU0KhWjrmYrWPgtJHYZSnI= github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= @@ -182,8 +182,8 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk golang.org/x/exp v0.0.0-20240531132922-fd00a4e0eefc h1:O9NuF4s+E/PvMIy+9IUZB9znFwUIXEWSstNjek6VpVg= golang.org/x/exp v0.0.0-20240531132922-fd00a4e0eefc/go.mod h1:XtvwrStGgqGPLc4cjQfWqZHG1YFdYs6swckp8vpsjnc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= +golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ= @@ -202,8 +202,8 @@ golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= -golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= +golang.org/x/tools v0.22.0 h1:gqSGLZqv+AI9lIQzniJ0nZDRG5GBPsSi+DRNHWNz6yA= +golang.org/x/tools v0.22.0/go.mod h1:aCwcsjqvq7Yqt6TNyX7QMU2enbQ/Gt0bo6krSeEri+c= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/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= diff --git a/index/lsm.go b/index/lsm.go index be7ef12d3..113781bc4 100644 --- a/index/lsm.go +++ b/index/lsm.go @@ -9,8 +9,8 @@ import ( "sync/atomic" "time" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/util" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/util" "github.com/go-kit/log" "github.com/go-kit/log/level" "github.com/prometheus/client_golang/prometheus" diff --git a/index/lsm_test.go b/index/lsm_test.go index b7fad5a50..8f7f8c8b9 100644 --- a/index/lsm_test.go +++ b/index/lsm_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v17/arrow" "github.com/parquet-go/parquet-go" "github.com/stretchr/testify/require" diff --git a/internal/records/record_builder.go b/internal/records/record_builder.go index a24a72278..1a4410e00 100644 --- a/internal/records/record_builder.go +++ b/internal/records/record_builder.go @@ -8,9 +8,9 @@ import ( "strconv" "strings" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/google/uuid" schemapb "github.com/polarsignals/frostdb/gen/proto/go/frostdb/schema/v1alpha1" diff --git a/internal/records/record_builder_test.go b/internal/records/record_builder_test.go index 946304d6e..6c5bf8722 100644 --- a/internal/records/record_builder_test.go +++ b/internal/records/record_builder_test.go @@ -3,7 +3,7 @@ package records_test import ( "testing" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "google.golang.org/protobuf/encoding/protojson" "google.golang.org/protobuf/proto" diff --git a/internal/records/record_reader.go b/internal/records/record_reader.go index 28ebbf01b..39264513a 100644 --- a/internal/records/record_reader.go +++ b/internal/records/record_reader.go @@ -3,8 +3,8 @@ package records import ( "reflect" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" ) type Reader[T any] struct { diff --git a/logictest/logic_test.go b/logictest/logic_test.go index 44ae93e90..bc9879faa 100644 --- a/logictest/logic_test.go +++ b/logictest/logic_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/cockroachdb/datadriven" "github.com/stretchr/testify/require" diff --git a/logictest/runner.go b/logictest/runner.go index c05e0f31b..c6cedc452 100644 --- a/logictest/runner.go +++ b/logictest/runner.go @@ -9,9 +9,9 @@ import ( "strings" "text/tabwriter" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/cockroachdb/datadriven" "github.com/google/uuid" "github.com/parquet-go/parquet-go" diff --git a/parts/arrow.go b/parts/arrow.go index c6bd2bb87..03543dca4 100644 --- a/parts/arrow.go +++ b/parts/arrow.go @@ -3,8 +3,8 @@ package parts import ( "io" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/ipc" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/ipc" "github.com/polarsignals/frostdb/dynparquet" "github.com/polarsignals/frostdb/pqarrow" diff --git a/parts/parquet.go b/parts/parquet.go index cf7232ad8..75e828142 100644 --- a/parts/parquet.go +++ b/parts/parquet.go @@ -5,7 +5,7 @@ import ( "io" "sync/atomic" - "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v17/arrow" "github.com/parquet-go/parquet-go" "github.com/polarsignals/frostdb/dynparquet" diff --git a/parts/part.go b/parts/part.go index 7ea3a566a..d907c8405 100644 --- a/parts/part.go +++ b/parts/part.go @@ -4,7 +4,7 @@ import ( "io" "sort" - "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v17/arrow" "github.com/polarsignals/frostdb/dynparquet" ) diff --git a/parts/part_test.go b/parts/part_test.go index 8f513c6d0..c354118fa 100644 --- a/parts/part_test.go +++ b/parts/part_test.go @@ -3,7 +3,7 @@ package parts import ( "testing" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/dynparquet" diff --git a/pqarrow/arrow.go b/pqarrow/arrow.go index a1fba769f..c096e8b5e 100644 --- a/pqarrow/arrow.go +++ b/pqarrow/arrow.go @@ -8,9 +8,9 @@ import ( "sort" "sync" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/parquet-go/parquet-go" "github.com/polarsignals/frostdb/dynparquet" diff --git a/pqarrow/arrow_test.go b/pqarrow/arrow_test.go index 27b1eb4e5..ca1775a86 100644 --- a/pqarrow/arrow_test.go +++ b/pqarrow/arrow_test.go @@ -5,9 +5,9 @@ import ( "fmt" "testing" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/google/uuid" "github.com/parquet-go/parquet-go" "github.com/stretchr/testify/require" diff --git a/pqarrow/arrowutils/groupranges.go b/pqarrow/arrowutils/groupranges.go index 6254fd2d4..0b3d548ce 100644 --- a/pqarrow/arrowutils/groupranges.go +++ b/pqarrow/arrowutils/groupranges.go @@ -6,8 +6,8 @@ import ( "fmt" "strings" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" ) // GetGroupsAndOrderedSetRanges returns a min-heap of group ranges and ordered diff --git a/pqarrow/arrowutils/merge.go b/pqarrow/arrowutils/merge.go index 5d6eda5c0..35e308332 100644 --- a/pqarrow/arrowutils/merge.go +++ b/pqarrow/arrowutils/merge.go @@ -7,9 +7,9 @@ import ( "math" "strings" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/polarsignals/frostdb/pqarrow/builder" ) diff --git a/pqarrow/arrowutils/merge_test.go b/pqarrow/arrowutils/merge_test.go index 57b20154d..d612449f6 100644 --- a/pqarrow/arrowutils/merge_test.go +++ b/pqarrow/arrowutils/merge_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/internal/records" diff --git a/pqarrow/arrowutils/nullarray.go b/pqarrow/arrowutils/nullarray.go index 28fe615c4..98de95c1f 100644 --- a/pqarrow/arrowutils/nullarray.go +++ b/pqarrow/arrowutils/nullarray.go @@ -1,8 +1,8 @@ package arrowutils import ( - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/polarsignals/frostdb/pqarrow/builder" ) diff --git a/pqarrow/arrowutils/schema.go b/pqarrow/arrowutils/schema.go index f9e9a4df7..b2ce4e346 100644 --- a/pqarrow/arrowutils/schema.go +++ b/pqarrow/arrowutils/schema.go @@ -4,8 +4,8 @@ import ( "fmt" "sort" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" ) // EnsureSameSchema ensures that all the records have the same schema. In cases diff --git a/pqarrow/arrowutils/schema_test.go b/pqarrow/arrowutils/schema_test.go index 647a7e58c..ba053985f 100644 --- a/pqarrow/arrowutils/schema_test.go +++ b/pqarrow/arrowutils/schema_test.go @@ -3,8 +3,8 @@ package arrowutils_test import ( "testing" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/internal/records" diff --git a/pqarrow/arrowutils/sort.go b/pqarrow/arrowutils/sort.go index a6b470bf4..bbdb1ab73 100644 --- a/pqarrow/arrowutils/sort.go +++ b/pqarrow/arrowutils/sort.go @@ -11,9 +11,9 @@ import ( "strconv" "sync" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" - "github.com/apache/arrow/go/v16/arrow/compute" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/compute" "golang.org/x/sync/errgroup" "github.com/polarsignals/frostdb/pqarrow/builder" diff --git a/pqarrow/arrowutils/sort_benchmark_test.go b/pqarrow/arrowutils/sort_benchmark_test.go index e26a93c00..d44981cd0 100644 --- a/pqarrow/arrowutils/sort_benchmark_test.go +++ b/pqarrow/arrowutils/sort_benchmark_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/internal/records" diff --git a/pqarrow/arrowutils/sort_test.go b/pqarrow/arrowutils/sort_test.go index c061e9b40..097d10c15 100644 --- a/pqarrow/arrowutils/sort_test.go +++ b/pqarrow/arrowutils/sort_test.go @@ -7,10 +7,10 @@ import ( "strings" "testing" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" - "github.com/apache/arrow/go/v16/arrow/compute" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/compute" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" ) diff --git a/pqarrow/arrowutils/utils.go b/pqarrow/arrowutils/utils.go index 9f32d1c2d..624520336 100644 --- a/pqarrow/arrowutils/utils.go +++ b/pqarrow/arrowutils/utils.go @@ -1,9 +1,9 @@ package arrowutils import ( - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" ) // ArrayConcatenator is an object that helps callers keep track of a slice of diff --git a/pqarrow/builder/listbuilder.go b/pqarrow/builder/listbuilder.go index e38a2c06b..4dc74c71a 100644 --- a/pqarrow/builder/listbuilder.go +++ b/pqarrow/builder/listbuilder.go @@ -21,10 +21,10 @@ package builder import ( "sync/atomic" - "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/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/bitutil" + "github.com/apache/arrow/go/v17/arrow/memory" ) const ( diff --git a/pqarrow/builder/optbuilders.go b/pqarrow/builder/optbuilders.go index 606c69a9d..05e0fd252 100644 --- a/pqarrow/builder/optbuilders.go +++ b/pqarrow/builder/optbuilders.go @@ -7,10 +7,10 @@ import ( "sync/atomic" "unsafe" - "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/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/bitutil" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/parquet-go/parquet-go" ) diff --git a/pqarrow/builder/optbuilders_test.go b/pqarrow/builder/optbuilders_test.go index 1ef20aa6e..148142a60 100644 --- a/pqarrow/builder/optbuilders_test.go +++ b/pqarrow/builder/optbuilders_test.go @@ -6,9 +6,9 @@ import ( "math/rand" "testing" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/pqarrow/builder" diff --git a/pqarrow/builder/recordbuilder.go b/pqarrow/builder/recordbuilder.go index 1939c75a5..7e8217bf5 100644 --- a/pqarrow/builder/recordbuilder.go +++ b/pqarrow/builder/recordbuilder.go @@ -4,9 +4,9 @@ import ( "fmt" "sync/atomic" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" ) // The code in this file is based heavily on Apache arrow's array.RecordBuilder, diff --git a/pqarrow/builder/utils.go b/pqarrow/builder/utils.go index f5d1e9547..7aa1d3c8c 100644 --- a/pqarrow/builder/utils.go +++ b/pqarrow/builder/utils.go @@ -4,9 +4,9 @@ import ( "fmt" "unsafe" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" ) func NewBuilder(mem memory.Allocator, t arrow.DataType) ColumnBuilder { diff --git a/pqarrow/convert/convert.go b/pqarrow/convert/convert.go index e7951dd4a..6a57814b2 100644 --- a/pqarrow/convert/convert.go +++ b/pqarrow/convert/convert.go @@ -3,7 +3,7 @@ package convert import ( "errors" - "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v17/arrow" "github.com/parquet-go/parquet-go" "github.com/parquet-go/parquet-go/format" diff --git a/pqarrow/convert/convert_test.go b/pqarrow/convert/convert_test.go index b632a6863..d193f6e33 100644 --- a/pqarrow/convert/convert_test.go +++ b/pqarrow/convert/convert_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v17/arrow" "github.com/parquet-go/parquet-go" "github.com/stretchr/testify/require" ) diff --git a/pqarrow/parquet.go b/pqarrow/parquet.go index af9b21e83..84a223d0f 100644 --- a/pqarrow/parquet.go +++ b/pqarrow/parquet.go @@ -7,9 +7,9 @@ import ( "sort" "strings" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/scalar" "github.com/parquet-go/parquet-go" "github.com/polarsignals/frostdb/dynparquet" diff --git a/pqarrow/parquet_test.go b/pqarrow/parquet_test.go index ce3e1e58e..11d760e16 100644 --- a/pqarrow/parquet_test.go +++ b/pqarrow/parquet_test.go @@ -5,9 +5,9 @@ import ( "io" "testing" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/parquet-go/parquet-go" "github.com/stretchr/testify/require" ) diff --git a/pqarrow/writer/writer.go b/pqarrow/writer/writer.go index 934669895..9217c5196 100644 --- a/pqarrow/writer/writer.go +++ b/pqarrow/writer/writer.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v17/arrow/array" "github.com/parquet-go/parquet-go" "github.com/polarsignals/frostdb/pqarrow/builder" diff --git a/query/engine.go b/query/engine.go index 95e60857e..4fbbbd9b3 100644 --- a/query/engine.go +++ b/query/engine.go @@ -5,8 +5,8 @@ import ( "go.opentelemetry.io/otel/trace/noop" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "go.opentelemetry.io/otel/trace" "github.com/polarsignals/frostdb/query/logicalplan" diff --git a/query/engine_test.go b/query/engine_test.go index 527e97a47..08ae9c91d 100644 --- a/query/engine_test.go +++ b/query/engine_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/dynparquet" diff --git a/query/exprpb/engine.go b/query/exprpb/engine.go index 2b547e2a8..9b418c4e1 100644 --- a/query/exprpb/engine.go +++ b/query/exprpb/engine.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "go.opentelemetry.io/otel/trace" "go.opentelemetry.io/otel/trace/noop" diff --git a/query/exprpb/engine_test.go b/query/exprpb/engine_test.go index dc1741a82..9f40226d5 100644 --- a/query/exprpb/engine_test.go +++ b/query/exprpb/engine_test.go @@ -4,8 +4,8 @@ import ( "context" "testing" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/dynparquet" diff --git a/query/exprpb/proto.go b/query/exprpb/proto.go index db123e455..eb96359a6 100644 --- a/query/exprpb/proto.go +++ b/query/exprpb/proto.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/scalar" storagepb "github.com/polarsignals/frostdb/gen/proto/go/frostdb/storage/v1alpha1" "github.com/polarsignals/frostdb/query/logicalplan" diff --git a/query/logicalplan/builder.go b/query/logicalplan/builder.go index cf1b1cb07..d1737d1f1 100644 --- a/query/logicalplan/builder.go +++ b/query/logicalplan/builder.go @@ -4,7 +4,7 @@ import ( "errors" "fmt" - "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v17/arrow" ) type Builder struct { diff --git a/query/logicalplan/builder_test.go b/query/logicalplan/builder_test.go index 63551106e..0735f0480 100644 --- a/query/logicalplan/builder_test.go +++ b/query/logicalplan/builder_test.go @@ -3,7 +3,7 @@ package logicalplan import ( "testing" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow/scalar" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/dynparquet" diff --git a/query/logicalplan/expr.go b/query/logicalplan/expr.go index fec8d7d2d..1cc6300ee 100644 --- a/query/logicalplan/expr.go +++ b/query/logicalplan/expr.go @@ -6,8 +6,8 @@ import ( "strings" "time" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/scalar" ) type Op uint32 diff --git a/query/logicalplan/logicalplan.go b/query/logicalplan/logicalplan.go index 127425d1c..eb0c3dc3c 100644 --- a/query/logicalplan/logicalplan.go +++ b/query/logicalplan/logicalplan.go @@ -5,8 +5,8 @@ import ( "fmt" "strings" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/polarsignals/frostdb/dynparquet" "github.com/polarsignals/frostdb/pqarrow/convert" diff --git a/query/logicalplan/logicalplan_test.go b/query/logicalplan/logicalplan_test.go index 2aa309b85..7a1abac52 100644 --- a/query/logicalplan/logicalplan_test.go +++ b/query/logicalplan/logicalplan_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/dynparquet" diff --git a/query/logicalplan/optimize_test.go b/query/logicalplan/optimize_test.go index 406edd6a0..a2259abf2 100644 --- a/query/logicalplan/optimize_test.go +++ b/query/logicalplan/optimize_test.go @@ -5,7 +5,7 @@ import ( "github.com/polarsignals/frostdb/dynparquet" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow/scalar" "github.com/stretchr/testify/require" ) diff --git a/query/logicalplan/validate.go b/query/logicalplan/validate.go index 38a2ba3ea..1fbd7771d 100644 --- a/query/logicalplan/validate.go +++ b/query/logicalplan/validate.go @@ -5,8 +5,8 @@ import ( "reflect" "strings" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/scalar" "github.com/parquet-go/parquet-go/format" ) diff --git a/query/memory.go b/query/memory.go index f447a2a0a..c2fa726aa 100644 --- a/query/memory.go +++ b/query/memory.go @@ -4,7 +4,7 @@ import ( "runtime/debug" "sync/atomic" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promauto" ) diff --git a/query/physicalplan/aggregate.go b/query/physicalplan/aggregate.go index 41ea8927e..733ee45d2 100644 --- a/query/physicalplan/aggregate.go +++ b/query/physicalplan/aggregate.go @@ -7,11 +7,11 @@ import ( "hash/maphash" "strings" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" - "github.com/apache/arrow/go/v16/arrow/math" - "github.com/apache/arrow/go/v16/arrow/memory" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/math" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/scalar" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" diff --git a/query/physicalplan/aggregate_test.go b/query/physicalplan/aggregate_test.go index 378726372..fead354ca 100644 --- a/query/physicalplan/aggregate_test.go +++ b/query/physicalplan/aggregate_test.go @@ -9,9 +9,9 @@ import ( "go.opentelemetry.io/otel/trace/noop" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/query/logicalplan" diff --git a/query/physicalplan/binaryscalarexpr.go b/query/physicalplan/binaryscalarexpr.go index 0ff3f667f..83258e8dd 100644 --- a/query/physicalplan/binaryscalarexpr.go +++ b/query/physicalplan/binaryscalarexpr.go @@ -7,10 +7,10 @@ import ( "fmt" "unsafe" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" - "github.com/apache/arrow/go/v16/arrow/compute" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/compute" + "github.com/apache/arrow/go/v17/arrow/scalar" "github.com/polarsignals/frostdb/query/logicalplan" ) diff --git a/query/physicalplan/binaryscalarexpr_test.go b/query/physicalplan/binaryscalarexpr_test.go index 78f8d2a71..f13091557 100644 --- a/query/physicalplan/binaryscalarexpr_test.go +++ b/query/physicalplan/binaryscalarexpr_test.go @@ -3,10 +3,10 @@ package physicalplan import ( "testing" - "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/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/scalar" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/query/logicalplan" diff --git a/query/physicalplan/distinct.go b/query/physicalplan/distinct.go index d26674858..cc2a87beb 100644 --- a/query/physicalplan/distinct.go +++ b/query/physicalplan/distinct.go @@ -7,10 +7,10 @@ import ( "strings" "sync" - "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/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/scalar" "go.opentelemetry.io/otel/trace" "github.com/polarsignals/frostdb/dynparquet" diff --git a/query/physicalplan/filter.go b/query/physicalplan/filter.go index f5528f474..244d1fe5c 100644 --- a/query/physicalplan/filter.go +++ b/query/physicalplan/filter.go @@ -7,10 +7,10 @@ import ( "regexp" "github.com/RoaringBitmap/roaring" - "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/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/scalar" "go.opentelemetry.io/otel/trace" "github.com/polarsignals/frostdb/query/logicalplan" diff --git a/query/physicalplan/filter_test.go b/query/physicalplan/filter_test.go index ba8454e1f..131cf396d 100644 --- a/query/physicalplan/filter_test.go +++ b/query/physicalplan/filter_test.go @@ -3,7 +3,7 @@ package physicalplan import ( "testing" - "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v17/arrow" "github.com/stretchr/testify/require" ) diff --git a/query/physicalplan/limit.go b/query/physicalplan/limit.go index 3489ccf5e..ef3c13fc6 100644 --- a/query/physicalplan/limit.go +++ b/query/physicalplan/limit.go @@ -4,10 +4,10 @@ import ( "context" "fmt" - "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/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/scalar" "go.opentelemetry.io/otel/trace" "github.com/polarsignals/frostdb/pqarrow/arrowutils" diff --git a/query/physicalplan/ordered_aggregate.go b/query/physicalplan/ordered_aggregate.go index f9dc4478e..0d631d6a0 100644 --- a/query/physicalplan/ordered_aggregate.go +++ b/query/physicalplan/ordered_aggregate.go @@ -6,9 +6,9 @@ import ( "fmt" "strings" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "go.opentelemetry.io/otel/trace" "github.com/polarsignals/frostdb/pqarrow/arrowutils" diff --git a/query/physicalplan/ordered_aggregate_test.go b/query/physicalplan/ordered_aggregate_test.go index 462506ef2..dd6dc8df4 100644 --- a/query/physicalplan/ordered_aggregate_test.go +++ b/query/physicalplan/ordered_aggregate_test.go @@ -7,9 +7,9 @@ import ( "go.opentelemetry.io/otel/trace/noop" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/pqarrow/builder" diff --git a/query/physicalplan/ordered_synchronizer.go b/query/physicalplan/ordered_synchronizer.go index 6c8eb703e..316b873f4 100644 --- a/query/physicalplan/ordered_synchronizer.go +++ b/query/physicalplan/ordered_synchronizer.go @@ -6,9 +6,9 @@ import ( "fmt" "sync" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/polarsignals/frostdb/dynparquet" "github.com/polarsignals/frostdb/pqarrow/arrowutils" diff --git a/query/physicalplan/ordered_synchronizer_test.go b/query/physicalplan/ordered_synchronizer_test.go index 7515a34ac..a2426f80c 100644 --- a/query/physicalplan/ordered_synchronizer_test.go +++ b/query/physicalplan/ordered_synchronizer_test.go @@ -6,9 +6,9 @@ import ( "sync/atomic" "testing" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "golang.org/x/sync/errgroup" diff --git a/query/physicalplan/physicalplan.go b/query/physicalplan/physicalplan.go index 7244a2beb..f6a6a5d1b 100644 --- a/query/physicalplan/physicalplan.go +++ b/query/physicalplan/physicalplan.go @@ -6,9 +6,9 @@ import ( "hash/maphash" "runtime" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/scalar" "go.opentelemetry.io/otel/attribute" "go.opentelemetry.io/otel/trace" "golang.org/x/sync/errgroup" diff --git a/query/physicalplan/physicalplan_test.go b/query/physicalplan/physicalplan_test.go index 0ce1143b2..80b766a43 100644 --- a/query/physicalplan/physicalplan_test.go +++ b/query/physicalplan/physicalplan_test.go @@ -6,8 +6,8 @@ import ( "go.opentelemetry.io/otel/trace/noop" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" "github.com/polarsignals/frostdb/dynparquet" diff --git a/query/physicalplan/project.go b/query/physicalplan/project.go index 10c80dbd4..0d29568e5 100644 --- a/query/physicalplan/project.go +++ b/query/physicalplan/project.go @@ -5,10 +5,10 @@ import ( "fmt" "strings" - "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/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/scalar" "go.opentelemetry.io/otel/trace" "github.com/polarsignals/frostdb/query/logicalplan" diff --git a/query/physicalplan/regexpfilter.go b/query/physicalplan/regexpfilter.go index 823111dc6..faef5083d 100644 --- a/query/physicalplan/regexpfilter.go +++ b/query/physicalplan/regexpfilter.go @@ -4,8 +4,8 @@ import ( "fmt" "regexp" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/array" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" ) type RegExpFilter struct { diff --git a/query/physicalplan/sampler.go b/query/physicalplan/sampler.go index f0211ae03..949d19683 100644 --- a/query/physicalplan/sampler.go +++ b/query/physicalplan/sampler.go @@ -7,10 +7,10 @@ import ( "math/rand" "slices" - "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/util" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/util" "github.com/polarsignals/frostdb/pqarrow/builder" ) diff --git a/query/physicalplan/sampler_test.go b/query/physicalplan/sampler_test.go index b3fadd359..550deaa21 100644 --- a/query/physicalplan/sampler_test.go +++ b/query/physicalplan/sampler_test.go @@ -4,9 +4,9 @@ import ( "context" "testing" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" ) diff --git a/query/physicalplan/synchronize.go b/query/physicalplan/synchronize.go index 6edba8093..4edfabca4 100644 --- a/query/physicalplan/synchronize.go +++ b/query/physicalplan/synchronize.go @@ -6,7 +6,7 @@ import ( "sync" "sync/atomic" - "github.com/apache/arrow/go/v16/arrow" + "github.com/apache/arrow/go/v17/arrow" ) // Synchronizer is used to combine the results of multiple parallel streams diff --git a/query/physicalplan/synchronize_test.go b/query/physicalplan/synchronize_test.go index 11a4c31c8..d76fe75dc 100644 --- a/query/physicalplan/synchronize_test.go +++ b/query/physicalplan/synchronize_test.go @@ -5,9 +5,9 @@ import ( "sync" "testing" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/stretchr/testify/require" ) diff --git a/query/testing.go b/query/testing.go index b381cafe6..ca0a9b2ba 100644 --- a/query/testing.go +++ b/query/testing.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/polarsignals/frostdb/dynparquet" "github.com/polarsignals/frostdb/query/logicalplan" diff --git a/samples/example.go b/samples/example.go index 48425f4d5..4586453b2 100644 --- a/samples/example.go +++ b/samples/example.go @@ -4,8 +4,8 @@ import ( "sort" "testing" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/memory" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/google/uuid" "github.com/parquet-go/parquet-go" "google.golang.org/protobuf/proto" diff --git a/snapshot.go b/snapshot.go index 3f3a0db92..b55e61008 100644 --- a/snapshot.go +++ b/snapshot.go @@ -16,8 +16,8 @@ import ( "github.com/oklog/ulid/v2" "google.golang.org/protobuf/proto" - "github.com/apache/arrow/go/v16/arrow/ipc" - "github.com/apache/arrow/go/v16/arrow/util" + "github.com/apache/arrow/go/v17/arrow/ipc" + "github.com/apache/arrow/go/v17/arrow/util" "github.com/go-kit/log/level" "github.com/polarsignals/frostdb/dynparquet" diff --git a/snapshot_test.go b/snapshot_test.go index 1fee0384f..de6bc3548 100644 --- a/snapshot_test.go +++ b/snapshot_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "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/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" "github.com/google/uuid" "github.com/stretchr/testify/require" "golang.org/x/sync/errgroup" diff --git a/sqlparse/visitor.go b/sqlparse/visitor.go index 787b4b4e1..a22586e1f 100644 --- a/sqlparse/visitor.go +++ b/sqlparse/visitor.go @@ -5,8 +5,8 @@ import ( "strings" "time" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/scalar" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/scalar" "github.com/pingcap/tidb/parser/ast" "github.com/pingcap/tidb/parser/mysql" "github.com/pingcap/tidb/parser/opcode" diff --git a/table.go b/table.go index 2719ce082..80ddde5c4 100644 --- a/table.go +++ b/table.go @@ -14,10 +14,10 @@ import ( "sync/atomic" "time" - "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/util" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/util" "github.com/dustin/go-humanize" "github.com/go-kit/log" "github.com/go-kit/log/level" diff --git a/table_test.go b/table_test.go index b027d3321..ce1d5a6b3 100644 --- a/table_test.go +++ b/table_test.go @@ -13,10 +13,10 @@ import ( "testing" "time" - "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/util" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow/go/v17/arrow/util" "github.com/go-kit/log" "github.com/go-kit/log/level" "github.com/google/uuid" diff --git a/wal/wal.go b/wal/wal.go index 600d82a97..e30d742d7 100644 --- a/wal/wal.go +++ b/wal/wal.go @@ -10,8 +10,8 @@ import ( "sync" "time" - "github.com/apache/arrow/go/v16/arrow" - "github.com/apache/arrow/go/v16/arrow/ipc" + "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow/go/v17/arrow/ipc" "github.com/go-kit/log" "github.com/go-kit/log/level" "github.com/polarsignals/wal"