Skip to content

Commit 61ad7b8

Browse files
feat(arrow): upgrade to arrow v12 (#790)
* feat(arrow): upgrade to arrow v12 * remove `go mod vendor` from gosnowflake.mak --------- Co-authored-by: ilesh garish <[email protected]>
1 parent 40d48c8 commit 61ad7b8

9 files changed

+22
-23
lines changed

arrow_chunk.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"encoding/base64"
88
"time"
99

10-
"github.com/apache/arrow/go/v11/arrow"
11-
"github.com/apache/arrow/go/v11/arrow/ipc"
12-
"github.com/apache/arrow/go/v11/arrow/memory"
10+
"github.com/apache/arrow/go/v12/arrow"
11+
"github.com/apache/arrow/go/v12/arrow/ipc"
12+
"github.com/apache/arrow/go/v12/arrow/memory"
1313
)
1414

1515
type arrowResultChunk struct {

chunk_downloader.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import (
1717
"sync"
1818
"time"
1919

20-
"github.com/apache/arrow/go/v11/arrow"
21-
"github.com/apache/arrow/go/v11/arrow/ipc"
22-
"github.com/apache/arrow/go/v11/arrow/memory"
20+
"github.com/apache/arrow/go/v12/arrow"
21+
"github.com/apache/arrow/go/v12/arrow/ipc"
22+
"github.com/apache/arrow/go/v12/arrow/memory"
2323
)
2424

2525
type chunkDownloader interface {

chunk_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
"sync/atomic"
1616
"testing"
1717

18-
"github.com/apache/arrow/go/v11/arrow/ipc"
19-
"github.com/apache/arrow/go/v11/arrow/memory"
18+
"github.com/apache/arrow/go/v12/arrow/ipc"
19+
"github.com/apache/arrow/go/v12/arrow/memory"
2020
)
2121

2222
func TestBadChunkData(t *testing.T) {

converter.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ import (
1414
"strings"
1515
"time"
1616

17-
"github.com/apache/arrow/go/v11/arrow"
18-
"github.com/apache/arrow/go/v11/arrow/array"
19-
"github.com/apache/arrow/go/v11/arrow/compute"
20-
"github.com/apache/arrow/go/v11/arrow/decimal128"
21-
"github.com/apache/arrow/go/v11/arrow/memory"
17+
"github.com/apache/arrow/go/v12/arrow"
18+
"github.com/apache/arrow/go/v12/arrow/array"
19+
"github.com/apache/arrow/go/v12/arrow/compute"
20+
"github.com/apache/arrow/go/v12/arrow/decimal128"
21+
"github.com/apache/arrow/go/v12/arrow/memory"
2222
)
2323

2424
const format = "2006-01-02 15:04:05.999999999"

converter_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313
"testing"
1414
"time"
1515

16-
"github.com/apache/arrow/go/v11/arrow"
17-
"github.com/apache/arrow/go/v11/arrow/array"
18-
"github.com/apache/arrow/go/v11/arrow/decimal128"
19-
"github.com/apache/arrow/go/v11/arrow/memory"
16+
"github.com/apache/arrow/go/v12/arrow"
17+
"github.com/apache/arrow/go/v12/arrow/array"
18+
"github.com/apache/arrow/go/v12/arrow/decimal128"
19+
"github.com/apache/arrow/go/v12/arrow/memory"
2020
)
2121

2222
func stringIntToDecimal(src string) (decimal128.Num, bool) {

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/99designs/keyring v1.2.2
77
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.4.0
88
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0
9-
github.com/apache/arrow/go/v11 v11.0.0
9+
github.com/apache/arrow/go/v12 v12.0.0
1010
github.com/aws/aws-sdk-go-v2 v1.17.7
1111
github.com/aws/aws-sdk-go-v2/credentials v1.13.18
1212
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.59

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c h1:RGWPOewvK
1414
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk=
1515
github.com/andybalholm/brotli v1.0.4 h1:V7DdXeJtZscaqfNuAdSRuRFzuiKlHSC/Zh3zl9qY3JY=
1616
github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
17-
github.com/apache/arrow/go/v11 v11.0.0 h1:hqauxvFQxww+0mEU/2XHG6LT7eZternCZq+A5Yly2uM=
18-
github.com/apache/arrow/go/v11 v11.0.0/go.mod h1:Eg5OsL5H+e299f7u5ssuXsuHQVEGC4xei5aX110hRiI=
17+
github.com/apache/arrow/go/v12 v12.0.0 h1:xtZE63VWl7qLdB0JObIXvvhGjoVNrQ9ciIHG2OK5cmc=
18+
github.com/apache/arrow/go/v12 v12.0.0/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/PEd/zm8mDS9Vg=
1919
github.com/apache/thrift v0.16.0 h1:qEy6UW60iVOlUy+b9ZR0d5WzUWYGOo4HfopoyBaNmoY=
2020
github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU=
2121
github.com/aws/aws-sdk-go-v2 v1.17.7 h1:CLSjnhJSTSogvqUGhIC6LqFKATMRexcxLZ0i/Nzk9Eg=

gosnowflake.mak

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ setup:
99

1010
## Install dependencies
1111
deps: setup
12-
go mod tidy
13-
go mod vendor
12+
go mod tidy
1413

1514
## Show help
1615
help:

util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"sync"
1111
"time"
1212

13-
"github.com/apache/arrow/go/v11/arrow/memory"
13+
"github.com/apache/arrow/go/v12/arrow/memory"
1414
)
1515

1616
type contextKey string

0 commit comments

Comments
 (0)