diff --git a/csv/read.go b/csv/read.go index 3183d72..b729edf 100644 --- a/csv/read.go +++ b/csv/read.go @@ -3,10 +3,10 @@ package csv import ( "fmt" - "github.com/apache/arrow/go/v17/arrow" - "github.com/apache/arrow/go/v17/arrow/array" - "github.com/apache/arrow/go/v17/arrow/csv" - "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow-go/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/csv" + "github.com/apache/arrow-go/v18/arrow/memory" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" ) diff --git a/csv/write.go b/csv/write.go index 5689af7..b445c0b 100644 --- a/csv/write.go +++ b/csv/write.go @@ -6,10 +6,10 @@ import ( "io" "strings" - "github.com/apache/arrow/go/v17/arrow" - "github.com/apache/arrow/go/v17/arrow/array" - "github.com/apache/arrow/go/v17/arrow/csv" - "github.com/apache/arrow/go/v17/arrow/memory" + "github.com/apache/arrow-go/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/csv" + "github.com/apache/arrow-go/v18/arrow/memory" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" ) diff --git a/csv/write_read_test.go b/csv/write_read_test.go index 5e48b59..6a77bd8 100644 --- a/csv/write_read_test.go +++ b/csv/write_read_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow-go/v18/arrow" "github.com/bradleyjkemp/cupaloy/v2" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/plugin" diff --git a/go.mod b/go.mod index 13da504..2eca714 100644 --- a/go.mod +++ b/go.mod @@ -5,10 +5,10 @@ go 1.22.7 toolchain go1.23.3 require ( - github.com/apache/arrow/go/v17 v17.0.0 + github.com/apache/arrow-go/v18 v18.0.0 github.com/bradleyjkemp/cupaloy/v2 v2.8.0 github.com/cloudquery/codegen v0.3.21 - github.com/cloudquery/plugin-sdk/v4 v4.71.1 + github.com/cloudquery/plugin-sdk/v4 v4.72.0 github.com/goccy/go-json v0.10.3 github.com/invopop/jsonschema v0.12.0 github.com/stretchr/testify v1.10.0 @@ -17,8 +17,8 @@ require ( require ( github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c // indirect - github.com/andybalholm/brotli v1.1.0 // indirect - github.com/apache/thrift v0.20.0 // indirect + github.com/andybalholm/brotli v1.1.1 // indirect + github.com/apache/thrift v0.21.0 // indirect github.com/apapsch/go-jsonmerge/v2 v2.0.0 // indirect github.com/bahlo/generic-list-go v0.2.0 // indirect github.com/buger/jsonparser v1.1.1 // indirect @@ -30,7 +30,7 @@ require ( github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-retryablehttp v0.7.7 // indirect github.com/klauspost/asmfmt v1.3.2 // indirect - github.com/klauspost/compress v1.17.9 // indirect + github.com/klauspost/compress v1.17.11 // indirect github.com/klauspost/cpuid/v2 v2.2.8 // indirect github.com/mailru/easyjson v0.7.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect diff --git a/go.sum b/go.sum index a43a058..7c98002 100644 --- a/go.sum +++ b/go.sum @@ -1,12 +1,12 @@ github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c h1:RGWPOewvKIROun94nF7v2cua9qP+thov/7M50KEoeSU= github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk= github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk= -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/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/apache/thrift v0.20.0 h1:631+KvYbsBZxmuJjYwhezVsrfc/TbqtZV4QcxOX1fOI= -github.com/apache/thrift v0.20.0/go.mod h1:hOk1BQqcp2OLzGsyVXdfMk7YFlMxK3aoEVhjD06QhB8= +github.com/andybalholm/brotli v1.1.1 h1:PR2pgnyFznKEugtsUo0xLdDop5SKXd5Qf5ysW+7XdTA= +github.com/andybalholm/brotli v1.1.1/go.mod h1:05ib4cKhjx3OQYUY22hTVd34Bc8upXjOLL2rKwwZBoA= +github.com/apache/arrow-go/v18 v18.0.0 h1:1dBDaSbH3LtulTyOVYaBCHO3yVRwjV+TZaqn3g6V7ZM= +github.com/apache/arrow-go/v18 v18.0.0/go.mod h1:t6+cWRSmKgdQ6HsxisQjok+jBpKGhRDiqcf3p0p/F+A= +github.com/apache/thrift v0.21.0 h1:tdPmh/ptjE1IJnhbhrcl2++TauVjy242rkV/UzJChnE= +github.com/apache/thrift v0.21.0/go.mod h1:W1H8aR/QRtYNvrPeFXBtobyRkd0/YVhTc6i07XIAgDw= github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ= github.com/apapsch/go-jsonmerge/v2 v2.0.0/go.mod h1:lvDnEdqiQrp0O42VQGgmlKpxL1AP2+08jFMw88y4klk= github.com/bahlo/generic-list-go v0.2.0 h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk= @@ -22,8 +22,8 @@ github.com/cloudquery/codegen v0.3.21 h1:9ag/57oS90pjFhsq/abv342o7Ber+IWCOtHThIe github.com/cloudquery/codegen v0.3.21/go.mod h1:yeQd2PXMqQf9rvKjOW4CMZTrMMkkashX+V8wX96d6i0= github.com/cloudquery/jsonschema v0.0.0-20240220124159-92878faa2a66 h1:OZLPSIBYEfvkAUeOeM8CwTgVQy5zhayI99ishCrsFV0= github.com/cloudquery/jsonschema v0.0.0-20240220124159-92878faa2a66/go.mod h1:0SoZ/U7yJlNOR+fWsBSeTvTbGXB6DK01tzJ7m2Xfg34= -github.com/cloudquery/plugin-sdk/v4 v4.71.1 h1:3MMNIt4ryWltYXDZaR4ycvQGCJwko52twPPtP/TAf/A= -github.com/cloudquery/plugin-sdk/v4 v4.71.1/go.mod h1:sJ6RjrPkWZnVYPx9kl5QaEgvxxfoWlYmhWi95oqitdI= +github.com/cloudquery/plugin-sdk/v4 v4.72.0 h1:nl4uO8xtt9sK5FvLMimjZkf3hti6uuVs2Thx8D42woc= +github.com/cloudquery/plugin-sdk/v4 v4.72.0/go.mod h1:eCbtCb6Kf6zwnzOgFimAPaeegK2/FojcELDrGmzZTV4= github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -55,8 +55,8 @@ github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFF github.com/juju/gnuflag v0.0.0-20171113085948-2ce1bb71843d/go.mod h1:2PavIy+JPciBPrBUjwbNvtwB6RQlve+hkpll6QSNmOE= github.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK4= github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= -github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= -github.com/klauspost/compress v1.17.9/go.mod h1:Di0epgTjJY877eYKx5yC51cX2A2Vl2ibi7bDH9ttBbw= +github.com/klauspost/compress v1.17.11 h1:In6xLpyWOi1+C7tXUUWv2ot1QvBjxevKAaI6IXrJmUc= +github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90U12bZKk7uwG0= github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM= github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= @@ -101,6 +101,8 @@ github.com/thoas/go-funk v0.9.3 h1:7+nAEx3kn5ZJcnDm2Bh23N2yOtweO14bi//dvRtgLpw= github.com/thoas/go-funk v0.9.3/go.mod h1:+IWnUfUmFO1+WVYQWQtIJHeRRdaIyyYglZN7xzUPe4Q= github.com/wk8/go-ordered-map/v2 v2.1.8 h1:5h/BUHu93oj4gIdvHHHGsScSTMijfx5PeYkE/fJgbpc= github.com/wk8/go-ordered-map/v2 v2.1.8/go.mod h1:5nJHM5DyteebpVlHnWMV0rPz6Zp7+xBAnxjb1X5vnTw= +github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU= +github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E= github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ= github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= github.com/zeebo/xxh3 v1.0.2 h1:xZmwmqxHZA8AI603jOQ0tMqmBr9lPeFwGg6d+xy9DC0= @@ -125,8 +127,8 @@ golang.org/x/tools v0.27.0 h1:qEKojBykQkQ4EynWy4S8Weg69NumxKdn40Fce3uc/8o= golang.org/x/tools v0.27.0/go.mod h1:sUi0ZgbwW9ZPAq26Ekut+weQPR5eIM6GQLQ1Yjm1H0Q= 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.15.0 h1:2lYxjRbTYyxkJxlhC+LvJIx3SsANPdRybu1tGj9/OrQ= -gonum.org/v1/gonum v0.15.0/go.mod h1:xzZVBJBtS+Mz4q0Yl2LJTk+OxOg4jiXZ7qBoM0uISGo= +gonum.org/v1/gonum v0.15.1 h1:FNy7N6OUZVUaWG9pTiD+jlhdQ3lMP+/LcTpJ6+a8sQ0= +gonum.org/v1/gonum v0.15.1/go.mod h1:eZTZuRFrzu5pcyjN5wJhcIhnUdNijYxX1T2IcrOGY0o= google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 h1:XVhgTWWV3kGQlwJHR3upFWZeTsei6Oks1apkZSeonIE= google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= google.golang.org/grpc v1.68.0 h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0= diff --git a/json/read.go b/json/read.go index 8d5e636..b9566f8 100644 --- a/json/read.go +++ b/json/read.go @@ -3,9 +3,9 @@ package json import ( "bufio" - "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/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/memory" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" ) diff --git a/json/write.go b/json/write.go index dc957fd..3d74a04 100644 --- a/json/write.go +++ b/json/write.go @@ -3,8 +3,8 @@ package json import ( "io" - "github.com/apache/arrow/go/v17/arrow" - "github.com/apache/arrow/go/v17/arrow/array" + "github.com/apache/arrow-go/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" "github.com/goccy/go-json" diff --git a/json/write_read_test.go b/json/write_read_test.go index 8e4ebb8..010a0f2 100644 --- a/json/write_read_test.go +++ b/json/write_read_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow-go/v18/arrow" "github.com/bradleyjkemp/cupaloy/v2" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/plugin" diff --git a/parquet/date.go b/parquet/date.go index 7995366..c363934 100644 --- a/parquet/date.go +++ b/parquet/date.go @@ -1,9 +1,9 @@ package parquet import ( - "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/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/memory" ) func reverseTransformDate64(arr *array.Date32) *array.Date64 { diff --git a/parquet/read.go b/parquet/read.go index 9d2f5cd..1faef08 100644 --- a/parquet/read.go +++ b/parquet/read.go @@ -5,11 +5,11 @@ import ( "fmt" "io" - "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/parquet/file" - "github.com/apache/arrow/go/v17/parquet/pqarrow" + "github.com/apache/arrow-go/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/memory" + "github.com/apache/arrow-go/v18/parquet/file" + "github.com/apache/arrow-go/v18/parquet/pqarrow" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" ) diff --git a/parquet/spec.go b/parquet/spec.go index df0041b..e6e4ee2 100644 --- a/parquet/spec.go +++ b/parquet/spec.go @@ -5,7 +5,7 @@ import ( "slices" "strings" - "github.com/apache/arrow/go/v17/parquet" + "github.com/apache/arrow-go/v18/parquet" "github.com/invopop/jsonschema" ) diff --git a/parquet/time.go b/parquet/time.go index f75b36c..2e02da1 100644 --- a/parquet/time.go +++ b/parquet/time.go @@ -1,9 +1,9 @@ package parquet import ( - "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/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/memory" ) func reverseTransformTime32(dt *arrow.Time32Type, arr *array.Time32) arrow.Array { diff --git a/parquet/timestamp.go b/parquet/timestamp.go index 3d547bf..15747c3 100644 --- a/parquet/timestamp.go +++ b/parquet/timestamp.go @@ -1,9 +1,9 @@ package parquet import ( - "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/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/memory" ) func reverseTransformTimestamp(dt *arrow.TimestampType, arr *array.Timestamp) arrow.Array { diff --git a/parquet/write.go b/parquet/write.go index 2a23dd5..d0c31a3 100644 --- a/parquet/write.go +++ b/parquet/write.go @@ -3,12 +3,12 @@ package parquet import ( "io" - "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/parquet" - "github.com/apache/arrow/go/v17/parquet/compress" - "github.com/apache/arrow/go/v17/parquet/pqarrow" + "github.com/apache/arrow-go/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/memory" + "github.com/apache/arrow-go/v18/parquet" + "github.com/apache/arrow-go/v18/parquet/compress" + "github.com/apache/arrow-go/v18/parquet/pqarrow" ftypes "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" "github.com/cloudquery/plugin-sdk/v4/types" diff --git a/parquet/write_read_test.go b/parquet/write_read_test.go index 2b07e15..5c704d1 100644 --- a/parquet/write_read_test.go +++ b/parquet/write_read_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow-go/v18/arrow" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/plugin" "github.com/cloudquery/plugin-sdk/v4/schema" diff --git a/read.go b/read.go index b34a89e..875c709 100644 --- a/read.go +++ b/read.go @@ -5,7 +5,7 @@ import ( "compress/gzip" "io" - "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow-go/v18/arrow" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" ) diff --git a/stream.go b/stream.go index 8c05d1d..01eaa0a 100644 --- a/stream.go +++ b/stream.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow-go/v18/arrow" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" ) diff --git a/stream_panic_test.go b/stream_panic_test.go index d23a573..db2491c 100644 --- a/stream_panic_test.go +++ b/stream_panic_test.go @@ -5,9 +5,9 @@ import ( "io" "testing" - "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/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/memory" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" "github.com/stretchr/testify/require" diff --git a/stream_test.go b/stream_test.go index bcccda8..ef94ff0 100644 --- a/stream_test.go +++ b/stream_test.go @@ -6,9 +6,9 @@ import ( "io" "testing" - "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/v18/arrow" + "github.com/apache/arrow-go/v18/arrow/array" + "github.com/apache/arrow-go/v18/arrow/memory" "github.com/cloudquery/filetypes/v4" "github.com/cloudquery/plugin-sdk/v4/schema" "github.com/stretchr/testify/assert" diff --git a/types/types.go b/types/types.go index 7710b8f..70bbade 100644 --- a/types/types.go +++ b/types/types.go @@ -3,7 +3,7 @@ package types import ( "io" - "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow-go/v18/arrow" "github.com/cloudquery/plugin-sdk/v4/schema" ) diff --git a/write.go b/write.go index e1dc64a..398a4ae 100644 --- a/write.go +++ b/write.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "github.com/apache/arrow/go/v17/arrow" + "github.com/apache/arrow-go/v18/arrow" "github.com/cloudquery/filetypes/v4/types" "github.com/cloudquery/plugin-sdk/v4/schema" )