diff --git a/go.mod b/go.mod index a3e7327a0c..a6bd76b224 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/cloudquery/plugin-sdk/v2 go 1.19 require ( - github.com/apache/arrow/go/v12 v12.0.0-20230430004532-0ea1a103dfc2 + github.com/apache/arrow/go/v13 v13.0.0-20230509040948-de6c3cd2b604 github.com/bradleyjkemp/cupaloy/v2 v2.8.0 github.com/cloudquery/plugin-pb-go v1.0.5 github.com/getsentry/sentry-go v0.20.0 @@ -25,7 +25,7 @@ require ( google.golang.org/protobuf v1.30.0 ) -replace github.com/apache/arrow/go/v12 => github.com/cloudquery/arrow/go/v12 v12.0.0-20230425184555-43f156fcdec9 +replace github.com/apache/arrow/go/v13 => github.com/cloudquery/arrow/go/v13 v13.0.0-20230509053643-898a79b1d3c8 require ( github.com/andybalholm/brotli v1.0.5 // indirect diff --git a/go.sum b/go.sum index 5227092779..bce0df9b7d 100644 --- a/go.sum +++ b/go.sum @@ -45,8 +45,8 @@ github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWR github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudquery/arrow/go/v12 v12.0.0-20230425184555-43f156fcdec9 h1:DOmgyWSIXR8FLBS23UgIwCkEE/JPBWztzTjFHyj5lCw= -github.com/cloudquery/arrow/go/v12 v12.0.0-20230425184555-43f156fcdec9/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/PEd/zm8mDS9Vg= +github.com/cloudquery/arrow/go/v13 v13.0.0-20230509053643-898a79b1d3c8 h1:CmgLSEGQNLHpUQ5cU4L4aF7cuJZRnc1toIIWqC1gmPg= +github.com/cloudquery/arrow/go/v13 v13.0.0-20230509053643-898a79b1d3c8/go.mod h1:/XatdE3kDIBqZKhZ7OBUHwP2jaASDFZHqF4puOWM8po= github.com/cloudquery/plugin-pb-go v1.0.5 h1:Du6pXI2JZRtgWfc0K69/gtNcyHICqEbAmfJXTARAqCc= github.com/cloudquery/plugin-pb-go v1.0.5/go.mod h1:vAGA27psem7ZZNAY4a3S9TKuA/JDQWstjKcHPJX91Mc= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= diff --git a/internal/memdb/memdb.go b/internal/memdb/memdb.go index 169ad53b03..3e1643c0be 100644 --- a/internal/memdb/memdb.go +++ b/internal/memdb/memdb.go @@ -8,8 +8,8 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/plugins/destination" "github.com/cloudquery/plugin-sdk/v2/schema" diff --git a/internal/memdb/memdb_test.go b/internal/memdb/memdb_test.go index 2c4bfa8e59..9b644bc2bf 100644 --- a/internal/memdb/memdb_test.go +++ b/internal/memdb/memdb_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v12/arrow" + "github.com/apache/arrow/go/v13/arrow" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/plugins/destination" "github.com/cloudquery/plugin-sdk/v2/testdata" diff --git a/internal/pk/pk.go b/internal/pk/pk.go index 96ebd30ee5..4e831aa2c6 100644 --- a/internal/pk/pk.go +++ b/internal/pk/pk.go @@ -3,7 +3,7 @@ package pk import ( "strings" - "github.com/apache/arrow/go/v12/arrow" + "github.com/apache/arrow/go/v13/arrow" "github.com/cloudquery/plugin-sdk/v2/schema" ) diff --git a/internal/servers/destination/v0/destinations.go b/internal/servers/destination/v0/destinations.go index 1415b84322..69f63ba914 100644 --- a/internal/servers/destination/v0/destinations.go +++ b/internal/servers/destination/v0/destinations.go @@ -6,8 +6,8 @@ import ( "fmt" "io" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/memory" pbBase "github.com/cloudquery/plugin-pb-go/pb/base/v0" pb "github.com/cloudquery/plugin-pb-go/pb/destination/v0" "github.com/cloudquery/plugin-pb-go/specs" diff --git a/plugins/destination/managed_writer.go b/plugins/destination/managed_writer.go index 8842ef6961..cd2550d05f 100644 --- a/plugins/destination/managed_writer.go +++ b/plugins/destination/managed_writer.go @@ -7,8 +7,8 @@ import ( "sync/atomic" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/util" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/util" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/internal/pk" "github.com/cloudquery/plugin-sdk/v2/schema" diff --git a/plugins/destination/plugin.go b/plugins/destination/plugin.go index 2ffd51568e..a02e4620c9 100644 --- a/plugins/destination/plugin.go +++ b/plugins/destination/plugin.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/apache/arrow/go/v12/arrow" + "github.com/apache/arrow/go/v13/arrow" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/schema" "github.com/rs/zerolog" diff --git a/plugins/destination/plugin_testing.go b/plugins/destination/plugin_testing.go index 4455aece62..29e9a55c61 100644 --- a/plugins/destination/plugin_testing.go +++ b/plugins/destination/plugin_testing.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/schema" "github.com/cloudquery/plugin-sdk/v2/types" diff --git a/plugins/destination/plugin_testing_migrate.go b/plugins/destination/plugin_testing_migrate.go index 8cc28e4e6f..b5417e56bb 100644 --- a/plugins/destination/plugin_testing_migrate.go +++ b/plugins/destination/plugin_testing_migrate.go @@ -7,8 +7,8 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/schema" "github.com/cloudquery/plugin-sdk/v2/testdata" diff --git a/plugins/destination/plugin_testing_overwrite.go b/plugins/destination/plugin_testing_overwrite.go index daa2f723e6..af89bcd967 100644 --- a/plugins/destination/plugin_testing_overwrite.go +++ b/plugins/destination/plugin_testing_overwrite.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/testdata" "github.com/cloudquery/plugin-sdk/v2/types" diff --git a/plugins/destination/plugin_testing_overwrite_delete_stale.go b/plugins/destination/plugin_testing_overwrite_delete_stale.go index 992ea975e2..4a33a17f05 100644 --- a/plugins/destination/plugin_testing_overwrite_delete_stale.go +++ b/plugins/destination/plugin_testing_overwrite_delete_stale.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/testdata" "github.com/cloudquery/plugin-sdk/v2/types" diff --git a/plugins/destination/plugin_testing_write_append.go b/plugins/destination/plugin_testing_write_append.go index dba32d4f32..36f39d4ea6 100644 --- a/plugins/destination/plugin_testing_write_append.go +++ b/plugins/destination/plugin_testing_write_append.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/testdata" "github.com/google/uuid" diff --git a/plugins/destination/unmanaged_writer.go b/plugins/destination/unmanaged_writer.go index 76910cbcea..760bcc105e 100644 --- a/plugins/destination/unmanaged_writer.go +++ b/plugins/destination/unmanaged_writer.go @@ -4,7 +4,7 @@ import ( "context" "time" - "github.com/apache/arrow/go/v12/arrow" + "github.com/apache/arrow/go/v13/arrow" "github.com/cloudquery/plugin-pb-go/specs" "github.com/cloudquery/plugin-sdk/v2/schema" ) diff --git a/schema/arrow.go b/schema/arrow.go index be4437f496..459ccdc278 100644 --- a/schema/arrow.go +++ b/schema/arrow.go @@ -6,9 +6,9 @@ import ( "github.com/goccy/go-json" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" + "github.com/apache/arrow/go/v13/arrow/memory" "github.com/cloudquery/plugin-sdk/v2/types" ) diff --git a/schema/arrow_test.go b/schema/arrow_test.go index 0b3c920844..5089334222 100644 --- a/schema/arrow_test.go +++ b/schema/arrow_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/apache/arrow/go/v12/arrow" + "github.com/apache/arrow/go/v13/arrow" "github.com/stretchr/testify/require" ) diff --git a/schema/column.go b/schema/column.go index 0de8930ba2..d7bc214191 100644 --- a/schema/column.go +++ b/schema/column.go @@ -6,7 +6,7 @@ import ( "fmt" "strings" - "github.com/apache/arrow/go/v12/arrow" + "github.com/apache/arrow/go/v13/arrow" ) type ColumnList []Column diff --git a/schema/meta.go b/schema/meta.go index 06b8b04148..516603d8d4 100644 --- a/schema/meta.go +++ b/schema/meta.go @@ -3,7 +3,7 @@ package schema import ( "context" - "github.com/apache/arrow/go/v12/arrow" + "github.com/apache/arrow/go/v13/arrow" "github.com/cloudquery/plugin-sdk/v2/types" ) diff --git a/schema/schemas.go b/schema/schemas.go index 48e8f06b91..376e4e51d1 100644 --- a/schema/schemas.go +++ b/schema/schemas.go @@ -1,6 +1,6 @@ package schema -import "github.com/apache/arrow/go/v12/arrow" +import "github.com/apache/arrow/go/v13/arrow" type Schemas []*arrow.Schema diff --git a/schema/table.go b/schema/table.go index d20266db79..07c892367b 100644 --- a/schema/table.go +++ b/schema/table.go @@ -5,7 +5,7 @@ import ( "fmt" "regexp" - "github.com/apache/arrow/go/v12/arrow" + "github.com/apache/arrow/go/v13/arrow" "github.com/cloudquery/plugin-sdk/v2/internal/glob" ) diff --git a/serve/destination_v0_test.go b/serve/destination_v0_test.go index 6b814581c1..986fa6997e 100644 --- a/serve/destination_v0_test.go +++ b/serve/destination_v0_test.go @@ -8,9 +8,9 @@ import ( "testing" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" + "github.com/apache/arrow/go/v13/arrow/memory" pbBase "github.com/cloudquery/plugin-pb-go/pb/base/v0" pb "github.com/cloudquery/plugin-pb-go/pb/destination/v0" "github.com/cloudquery/plugin-pb-go/specs" diff --git a/testdata/testdata.go b/testdata/testdata.go index bf837f3801..c5140dde6f 100644 --- a/testdata/testdata.go +++ b/testdata/testdata.go @@ -6,9 +6,9 @@ import ( "strings" "time" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" + "github.com/apache/arrow/go/v13/arrow/memory" "github.com/cloudquery/plugin-sdk/v2/schema" "github.com/cloudquery/plugin-sdk/v2/types" "github.com/google/uuid" diff --git a/types/extensions.go b/types/extensions.go index 83edf05c3c..f7e01d38f8 100644 --- a/types/extensions.go +++ b/types/extensions.go @@ -1,6 +1,6 @@ package types -import "github.com/apache/arrow/go/v12/arrow" +import "github.com/apache/arrow/go/v13/arrow" var ExtensionTypes = struct { UUID arrow.ExtensionType diff --git a/types/extensions_test.go b/types/extensions_test.go index d7f7dc1a97..a090f42afa 100644 --- a/types/extensions_test.go +++ b/types/extensions_test.go @@ -3,9 +3,9 @@ package types import ( "testing" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" + "github.com/apache/arrow/go/v13/arrow/memory" "github.com/google/uuid" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" diff --git a/types/inet.go b/types/inet.go index f6cdc4f8ca..bf940d067e 100644 --- a/types/inet.go +++ b/types/inet.go @@ -7,8 +7,8 @@ import ( "reflect" "strings" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" "github.com/goccy/go-json" ) diff --git a/types/inet_test.go b/types/inet_test.go index a59e17d044..810177cd4c 100644 --- a/types/inet_test.go +++ b/types/inet_test.go @@ -4,8 +4,8 @@ import ( "net" "testing" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v13/arrow/array" + "github.com/apache/arrow/go/v13/arrow/memory" "github.com/stretchr/testify/require" ) diff --git a/types/json.go b/types/json.go index a04414f536..28f4cca87d 100644 --- a/types/json.go +++ b/types/json.go @@ -8,8 +8,8 @@ import ( "github.com/goccy/go-json" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" ) type JSONBuilder struct { diff --git a/types/json_test.go b/types/json_test.go index 4775552f06..e2674d8e0f 100644 --- a/types/json_test.go +++ b/types/json_test.go @@ -5,8 +5,8 @@ import ( "strconv" "testing" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v13/arrow/array" + "github.com/apache/arrow/go/v13/arrow/memory" "github.com/goccy/go-json" "github.com/stretchr/testify/require" ) diff --git a/types/mac.go b/types/mac.go index f2b790908c..cb6409e51d 100644 --- a/types/mac.go +++ b/types/mac.go @@ -7,8 +7,8 @@ import ( "reflect" "strings" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" "github.com/goccy/go-json" ) diff --git a/types/mac_test.go b/types/mac_test.go index 13e02e7f68..9557e6d855 100644 --- a/types/mac_test.go +++ b/types/mac_test.go @@ -4,8 +4,8 @@ import ( "net" "testing" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v13/arrow/array" + "github.com/apache/arrow/go/v13/arrow/memory" "github.com/stretchr/testify/require" ) diff --git a/types/uuid.go b/types/uuid.go index 8f29781cc2..4b43678702 100644 --- a/types/uuid.go +++ b/types/uuid.go @@ -8,8 +8,8 @@ import ( "github.com/goccy/go-json" - "github.com/apache/arrow/go/v12/arrow" - "github.com/apache/arrow/go/v12/arrow/array" + "github.com/apache/arrow/go/v13/arrow" + "github.com/apache/arrow/go/v13/arrow/array" "github.com/google/uuid" ) diff --git a/types/uuid_test.go b/types/uuid_test.go index 66940dba13..9e0cf86bbd 100644 --- a/types/uuid_test.go +++ b/types/uuid_test.go @@ -3,8 +3,8 @@ package types import ( "testing" - "github.com/apache/arrow/go/v12/arrow/array" - "github.com/apache/arrow/go/v12/arrow/memory" + "github.com/apache/arrow/go/v13/arrow/array" + "github.com/apache/arrow/go/v13/arrow/memory" "github.com/google/uuid" "github.com/stretchr/testify/require" )