Skip to content

Commit

Permalink
Merge pull request #88 from reproio/dependabot/go_modules/cloud.googl…
Browse files Browse the repository at this point in the history
…e.com/go/bigquery-1.43.0

Bump cloud.google.com/go/bigquery from 1.10.0 to 1.43.0
  • Loading branch information
abicky authored Nov 12, 2022
2 parents 46ee508 + 4ef23fe commit 83eda54
Show file tree
Hide file tree
Showing 7 changed files with 97 additions and 318 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.14
- name: Set up Go 1.19
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.19
id: go

- name: Check out code into the Go module directory
Expand All @@ -37,7 +37,7 @@ jobs:
uses: golangci/golangci-lint-action@v2
env:
GOROOT: ""

- name: Test
run: make test

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions columnifier/parquet.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package columnifier

import (
"io"
"io/ioutil"
"os"

"github.com/xitongsys/parquet-go/marshal"
Expand All @@ -25,7 +24,7 @@ type parquetColumnifier struct {

// NewParquetColumnifier creates a new parquetColumnifier.
func NewParquetColumnifier(st string, sf string, rt string, output string, config Config) (*parquetColumnifier, error) {
schemaContent, err := ioutil.ReadFile(sf)
schemaContent, err := os.ReadFile(sf)
if err != nil {
return nil, err
}
Expand Down
5 changes: 2 additions & 3 deletions columnifier/parquet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package columnifier
import (
"bytes"
"encoding/json"
"io/ioutil"
"os"
"testing"

Expand Down Expand Up @@ -440,7 +439,7 @@ func TestWriteClose(t *testing.T) {
}

for _, c := range cases {
out, err := ioutil.TempFile("", "out.parquet")
out, err := os.CreateTemp("", "out.parquet")
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -492,7 +491,7 @@ func TestWriteClose_Errors(t *testing.T) {
}

for _, c := range cases {
out, err := ioutil.TempFile("", "out.parquet")
out, err := os.CreateTemp("", "out.parquet")
if err != nil {
t.Fatal(err)
}
Expand Down
31 changes: 29 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,40 @@
module github.com/reproio/columnify

go 1.14
go 1.19

require (
cloud.google.com/go/bigquery v1.10.0
cloud.google.com/go/bigquery v1.43.0
github.com/Songmu/go-ltsv v0.0.0-20181014062614-c30af2b7b171
github.com/apache/arrow/go/arrow v0.0.0-20200504153628-d13e8f3ed647
github.com/linkedin/goavro/v2 v2.9.8
github.com/vmihailenco/msgpack/v4 v4.3.12
github.com/xitongsys/parquet-go v1.5.3
github.com/xitongsys/parquet-go-source v0.0.0-20200225073416-429277801fe4
)

require (
cloud.google.com/go v0.104.0 // indirect
cloud.google.com/go/compute v1.10.0 // indirect
cloud.google.com/go/iam v0.5.0 // indirect
github.com/apache/thrift v0.0.0-20181112125854-24918abba929 // indirect
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/golang/snappy v0.0.1 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.0 // indirect
github.com/googleapis/gax-go/v2 v2.6.0 // indirect
github.com/klauspost/compress v1.10.5 // indirect
github.com/vmihailenco/tagparser v0.1.1 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458 // indirect
golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1 // indirect
golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/api v0.99.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b // indirect
google.golang.org/grpc v1.50.1 // indirect
google.golang.org/protobuf v1.28.1 // indirect
)
Loading

0 comments on commit 83eda54

Please sign in to comment.