Skip to content

Commit ef6b743

Browse files
authored
fix(deps): Update module github.com/apache/arrow-go/v18 to v18.4.1 (#544)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/apache/arrow-go/v18](https://redirect.github.com/apache/arrow-go) | require | patch | `v18.4.0` -> `v18.4.1` | --- ### Release Notes <details> <summary>apache/arrow-go (github.com/apache/arrow-go/v18)</summary> ### [`v18.4.1`](https://redirect.github.com/apache/arrow-go/releases/tag/v18.4.1) [Compare Source](https://redirect.github.com/apache/arrow-go/compare/v18.4.0...v18.4.1) ##### What's Changed - fix(arrow/compute/exprs): Handle large types in expr handling by [@&#8203;zeroshade](https://redirect.github.com/zeroshade) in [https://github.com/apache/arrow-go/pull/440](https://redirect.github.com/apache/arrow-go/pull/440) - chore: Bump github.com/klauspost/cpuid/v2 from 2.2.11 to 2.3.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/444](https://redirect.github.com/apache/arrow-go/pull/444)4 - chore: Bump golang.org/x/sync from 0.15.0 to 0.16.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/443](https://redirect.github.com/apache/arrow-go/pull/443)3 - chore: Bump golang.org/x/sys from 0.33.0 to 0.34.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/442](https://redirect.github.com/apache/arrow-go/pull/442)2 - fix(arrow/compute/exprs): fix literalToDatum for precision types by [@&#8203;zeroshade](https://redirect.github.com/zeroshade) in [https://github.com/apache/arrow-go/pull/447](https://redirect.github.com/apache/arrow-go/pull/447) - chore: Bump golang.org/x/tools from 0.34.0 to 0.35.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/441](https://redirect.github.com/apache/arrow-go/pull/441)1 - fix(arrow/array): Fix RecordFromJSON perf by [@&#8203;zeroshade](https://redirect.github.com/zeroshade) in [https://github.com/apache/arrow-go/pull/449](https://redirect.github.com/apache/arrow-go/pull/449) - fix(arrow/array): update timestamp json format by [@&#8203;zeroshade](https://redirect.github.com/zeroshade) in [https://github.com/apache/arrow-go/pull/450](https://redirect.github.com/apache/arrow-go/pull/450) - refactor: switch golang.org/x/exp to standard library packages by [@&#8203;ufUNnxagpM](https://redirect.github.com/ufUNnxagpM) in [https://github.com/apache/arrow-go/pull/453](https://redirect.github.com/apache/arrow-go/pull/453) - chore: Bump google.golang.org/grpc from 1.73.0 to 1.74.2 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/458](https://redirect.github.com/apache/arrow-go/pull/458)8 - fix(parquet/pqarrow): supress io.EOF in RecordReader.Err() by [@&#8203;ryanschneider](https://redirect.github.com/ryanschneider) in [https://github.com/apache/arrow-go/pull/452](https://redirect.github.com/apache/arrow-go/pull/452) - chore: Bump github.com/substrait-io/substrait-go/v4 from 4.3.0 to 4.4.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/459](https://redirect.github.com/apache/arrow-go/pull/459)9 - fix(array): add nil checks in Data.Release() for childData by [@&#8203;secfree](https://redirect.github.com/secfree) in [https://github.com/apache/arrow-go/pull/456](https://redirect.github.com/apache/arrow-go/pull/456) - fix(arrow/compute): Fix scalar comparison batches by [@&#8203;zeroshade](https://redirect.github.com/zeroshade) in [https://github.com/apache/arrow-go/pull/465](https://redirect.github.com/apache/arrow-go/pull/465) - chore: Bump actions/checkout from 4 to 5 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/471](https://redirect.github.com/apache/arrow-go/pull/471)1 - chore: Bump golang.org/x/tools from 0.35.0 to 0.36.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/467](https://redirect.github.com/apache/arrow-go/pull/467)7 - chore: Bump actions/download-artifact from 4.3.0 to 5.0.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/468](https://redirect.github.com/apache/arrow-go/pull/468)8 - chore: Bump google.golang.org/protobuf from 1.36.6 to 1.36.7 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/469](https://redirect.github.com/apache/arrow-go/pull/469)9 - refactor(arrow): rename Record to RecordBatch and add deprecated alias by [@&#8203;Mandukhai-Alimaa](https://redirect.github.com/Mandukhai-Alimaa) in [https://github.com/apache/arrow-go/pull/466](https://redirect.github.com/apache/arrow-go/pull/466) - refactor(arrow): migrate leaf packages to use RecordBatch by [@&#8203;Mandukhai-Alimaa](https://redirect.github.com/Mandukhai-Alimaa) in [https://github.com/apache/arrow-go/pull/473](https://redirect.github.com/apache/arrow-go/pull/473) - refactor(arrow): third increment of the Record -> RecordBatch migration by [@&#8203;Mandukhai-Alimaa](https://redirect.github.com/Mandukhai-Alimaa) in [https://github.com/apache/arrow-go/pull/478](https://redirect.github.com/apache/arrow-go/pull/478) - chore: Bump github.com/go-viper/mapstructure/v2 from 2.3.0 to 2.4.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/480](https://redirect.github.com/apache/arrow-go/pull/480)0 - ci(parquet/pqarrow): integration tests for reading shredded variants by [@&#8203;zeroshade](https://redirect.github.com/zeroshade) in [https://github.com/apache/arrow-go/pull/455](https://redirect.github.com/apache/arrow-go/pull/455) - chore: Bump google.golang.org/grpc from 1.74.2 to 1.75.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/483](https://redirect.github.com/apache/arrow-go/pull/483)3 - chore: Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/482](https://redirect.github.com/apache/arrow-go/pull/482)2 - Implement RLE dictionary decoder using generics by [@&#8203;daniel-adam-tfs](https://redirect.github.com/daniel-adam-tfs) in [https://github.com/apache/arrow-go/pull/477](https://redirect.github.com/apache/arrow-go/pull/477) - chore: Bump google.golang.org/protobuf from 1.36.7 to 1.36.8 by [@&#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in[https://github.com/apache/arrow-go/pull/481](https://redirect.github.com/apache/arrow-go/pull/481)1 - fix(parquet/internal/encoding): Fix typed dictionary encoding by [@&#8203;MasslessParticle](https://redirect.github.com/MasslessParticle) in [https://github.com/apache/arrow-go/pull/479](https://redirect.github.com/apache/arrow-go/pull/479) - refactor(arrow): fourth increment of the Record -> RecordBatch migration by [@&#8203;Mandukhai-Alimaa](https://redirect.github.com/Mandukhai-Alimaa) in [https://github.com/apache/arrow-go/pull/486](https://redirect.github.com/apache/arrow-go/pull/486) - chore: bump version number by [@&#8203;zeroshade](https://redirect.github.com/zeroshade) in [https://github.com/apache/arrow-go/pull/487](https://redirect.github.com/apache/arrow-go/pull/487) ##### New Contributors - [@&#8203;ufUNnxagpM](https://redirect.github.com/ufUNnxagpM) made their first contribution in [https://github.com/apache/arrow-go/pull/453](https://redirect.github.com/apache/arrow-go/pull/453) - [@&#8203;ryanschneider](https://redirect.github.com/ryanschneider) made their first contribution in [https://github.com/apache/arrow-go/pull/452](https://redirect.github.com/apache/arrow-go/pull/452) - [@&#8203;secfree](https://redirect.github.com/secfree) made their first contribution in [https://github.com/apache/arrow-go/pull/456](https://redirect.github.com/apache/arrow-go/pull/456) - [@&#8203;Mandukhai-Alimaa](https://redirect.github.com/Mandukhai-Alimaa) made their first contribution in [https://github.com/apache/arrow-go/pull/466](https://redirect.github.com/apache/arrow-go/pull/466) - [@&#8203;daniel-adam-tfs](https://redirect.github.com/daniel-adam-tfs) made their first contribution in [https://github.com/apache/arrow-go/pull/477](https://redirect.github.com/apache/arrow-go/pull/477) **Full Changelog**: apache/arrow-go@v18.4.0...v18.4.1 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yMi4xIiwidXBkYXRlZEluVmVyIjoiNDAuMjIuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIl19-->
1 parent aaed073 commit ef6b743

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ toolchain go1.24.6
66

77
require (
88
github.com/Masterminds/semver v1.5.0
9-
github.com/apache/arrow-go/v18 v18.4.0
9+
github.com/apache/arrow-go/v18 v18.4.1
1010
github.com/avast/retry-go/v4 v4.6.1
1111
github.com/cloudquery/cloudquery-api-go v1.14.2
1212
github.com/distribution/reference v0.6.0
@@ -43,7 +43,7 @@ require (
4343
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
4444
github.com/hashicorp/go-retryablehttp v0.7.8 // indirect
4545
github.com/klauspost/compress v1.18.0 // indirect
46-
github.com/klauspost/cpuid/v2 v2.2.11 // indirect
46+
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
4747
github.com/mattn/go-colorable v0.1.13 // indirect
4848
github.com/mattn/go-isatty v0.0.20 // indirect
4949
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5
77
github.com/RaveNoX/go-jsoncommentstrip v1.0.0/go.mod h1:78ihd09MekBnJnxpICcwzCMzGrKSKYe4AqU6PDYYpjk=
88
github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ=
99
github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY=
10-
github.com/apache/arrow-go/v18 v18.4.0 h1:/RvkGqH517iY8bZKc4FD5/kkdwXJGjxf28JIXbJ/oB0=
11-
github.com/apache/arrow-go/v18 v18.4.0/go.mod h1:Aawvwhj8x2jURIzD9Moy72cF0FyJXOpkYpdmGRHcw14=
10+
github.com/apache/arrow-go/v18 v18.4.1 h1:q/jVkBWCJOB9reDgaIZIdruLQUb1kbkvOnOFezVH1C4=
11+
github.com/apache/arrow-go/v18 v18.4.1/go.mod h1:tLyFubsAl17bvFdUAy24bsSvA/6ww95Iqi67fTpGu3E=
1212
github.com/apache/thrift v0.22.0 h1:r7mTJdj51TMDe6RtcmNdQxgn9XcyfGDOzegMDRg47uc=
1313
github.com/apache/thrift v0.22.0/go.mod h1:1e7J/O1Ae6ZQMTYdy9xa3w9k+XHWPfRvdPyJeynQ+/g=
1414
github.com/apapsch/go-jsonmerge/v2 v2.0.0 h1:axGnT1gRIfimI7gJifB699GoE/oq+F2MU7Dml6nw9rQ=
@@ -81,8 +81,8 @@ github.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK
8181
github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE=
8282
github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=
8383
github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
84-
github.com/klauspost/cpuid/v2 v2.2.11 h1:0OwqZRYI2rFrjS4kvkDnqJkKHdHaRnCm68/DY4OxRzU=
85-
github.com/klauspost/cpuid/v2 v2.2.11/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
84+
github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y=
85+
github.com/klauspost/cpuid/v2 v2.3.0/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0=
8686
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
8787
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
8888
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=

pb/destination/v1/arrow.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ func NewSchemasFromBytes(b [][]byte) ([]*arrow.Schema, error) {
1919
return ret, nil
2020
}
2121

22-
func NewRecordFromBytes(b []byte) (arrow.Record, error) {
22+
func NewRecordFromBytes(b []byte) (arrow.RecordBatch, error) {
2323
rdr, err := ipc.NewReader(bytes.NewReader(b))
2424
if err != nil {
2525
return nil, err
2626
}
2727
for rdr.Next() {
28-
rec := rdr.Record()
28+
rec := rdr.RecordBatch()
2929
rec.Retain()
3030
return rec, nil
3131
}

pb/plugin/v3/arrow.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func NewSchemasFromBytes(b [][]byte) ([]*arrow.Schema, error) {
4848
return schemas, nil
4949
}
5050

51-
func RecordToBytes(record arrow.Record) ([]byte, error) {
51+
func RecordToBytes(record arrow.RecordBatch) ([]byte, error) {
5252
var buf bytes.Buffer
5353
wr := ipc.NewWriter(&buf, ipc.WithSchema(record.Schema()))
5454
if err := wr.Write(record); err != nil {
@@ -60,13 +60,13 @@ func RecordToBytes(record arrow.Record) ([]byte, error) {
6060
return buf.Bytes(), nil
6161
}
6262

63-
func NewRecordFromBytes(b []byte) (arrow.Record, error) {
63+
func NewRecordFromBytes(b []byte) (arrow.RecordBatch, error) {
6464
rdr, err := ipc.NewReader(bytes.NewReader(b))
6565
if err != nil {
6666
return nil, err
6767
}
6868
for rdr.Next() {
69-
rec := rdr.Record()
69+
rec := rdr.RecordBatch()
7070
rec.Retain()
7171
return rec, nil
7272
}

pb/plugin/v3/arrow_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ func TestRecordRoundTrip(t *testing.T) {
4949
bldr := array.NewRecordBuilder(memory.DefaultAllocator, sc)
5050
bldr.Field(0).(*array.Int64Builder).AppendValues([]int64{1, 2, 3}, nil)
5151
bldr.Field(1).(*array.Float64Builder).AppendValues([]float64{1.1, 2.2, 3.3}, nil)
52-
rec := bldr.NewRecord()
52+
rec := bldr.NewRecordBatch()
5353
defer rec.Release()
5454

5555
b, err := RecordToBytes(rec)

pb/source/v2/arrow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func SchemasToBytes(schemas []*arrow.Schema) ([][]byte, error) {
2020
return ret, nil
2121
}
2222

23-
func RecordToBytes(record arrow.Record) ([]byte, error) {
23+
func RecordToBytes(record arrow.RecordBatch) ([]byte, error) {
2424
var buf bytes.Buffer
2525
wr := ipc.NewWriter(&buf, ipc.WithSchema(record.Schema()))
2626
if err := wr.Write(record); err != nil {

0 commit comments

Comments
 (0)