Skip to content
Merged
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
2 changes: 1 addition & 1 deletion ci/scripts/go_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fi
popd

export PARQUET_TEST_DATA=${1}/cpp/submodules/parquet-testing/data

export ARROW_TEST_DATA=${1}/testing/data
pushd ${source_dir}/parquet

go test $testargs -tags assert ./...
Expand Down
11 changes: 9 additions & 2 deletions go/parquet/internal/encoding/encoding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"bufio"
"fmt"
"os"
"path"
"reflect"
"strconv"
"testing"
Expand Down Expand Up @@ -688,8 +689,14 @@ func TestDeltaByteArrayEncoding(t *testing.T) {
}

func TestDeltaBitPacking(t *testing.T) {
require.FileExists(t, "testdata/timestamp.data")
f, err := os.Open("testdata/timestamp.data")
datadir := os.Getenv("ARROW_TEST_DATA")
if datadir == "" {
return
}

fname := path.Join(datadir, "parquet/timestamp.data")
require.FileExists(t, fname)
f, err := os.Open(fname)
if err != nil {
t.Fatal(err)
}
Expand Down
Loading