Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Arrow 13 #563

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- "1.17.x"
- "1.20.x"

services:
- docker
Expand All @@ -11,5 +11,4 @@ script:

after_script:


after_success:
4 changes: 2 additions & 2 deletions common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"strconv"
"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/xitongsys/parquet-go/parquet"
)
Expand Down
6 changes: 3 additions & 3 deletions example/arrow_to_parquet.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"log"
"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/xitongsys/parquet-go-source/local"
"github.com/xitongsys/parquet-go/reader"
"github.com/xitongsys/parquet-go/writer"
Expand Down
23 changes: 19 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,14 +1,29 @@
module github.com/xitongsys/parquet-go

go 1.16
go 1.20

require (
github.com/apache/arrow/go/v12 v12.0.1
github.com/apache/arrow/go/v13 v13.0.0
github.com/apache/thrift v0.16.0
github.com/aws/aws-sdk-go v1.30.19
github.com/goccy/go-reflect v1.2.0
github.com/klauspost/compress v1.16.7
github.com/pierrec/lz4/v4 v4.1.15
github.com/stretchr/testify v1.8.0
github.com/pierrec/lz4/v4 v4.1.17
github.com/stretchr/testify v1.8.1
github.com/xitongsys/parquet-go-source v0.0.0-20200817004010-026bad9b25d0
)

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/goccy/go-json v0.10.0 // indirect
github.com/google/flatbuffers v23.1.21+incompatible // indirect
github.com/jmespath/go-jmespath v0.3.0 // indirect
github.com/klauspost/cpuid/v2 v2.2.3 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/zeebo/xxh3 v1.0.2 // indirect
golang.org/x/mod v0.8.0 // indirect
golang.org/x/sys v0.5.0 // indirect
golang.org/x/tools v0.6.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
273 changes: 20 additions & 253 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion schema/arrow.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package schema
import (
"fmt"

"github.com/apache/arrow/go/v12/arrow"
"github.com/apache/arrow/go/v13/arrow"
"github.com/xitongsys/parquet-go/common"
"github.com/xitongsys/parquet-go/parquet"
)
Expand Down
2 changes: 1 addition & 1 deletion schema/arrow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package schema
import (
"testing"

"github.com/apache/arrow/go/v12/arrow"
"github.com/apache/arrow/go/v13/arrow"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion writer/arrow.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package writer
import (
"fmt"

"github.com/apache/arrow/go/v12/arrow"
"github.com/apache/arrow/go/v13/arrow"
"github.com/xitongsys/parquet-go/common"
"github.com/xitongsys/parquet-go/layout"
"github.com/xitongsys/parquet-go/marshal"
Expand Down
6 changes: 3 additions & 3 deletions writer/arrow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"reflect"
"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/stretchr/testify/assert"
"github.com/xitongsys/parquet-go-source/buffer"
"github.com/xitongsys/parquet-go-source/writerfile"
Expand Down