File tree Expand file tree Collapse file tree 4 files changed +11
-68614
lines changed
go/parquet/internal/encoding Expand file tree Collapse file tree 4 files changed +11
-68614
lines changed Original file line number Diff line number Diff line change 8181popd
8282
8383export PARQUET_TEST_DATA=${1} /cpp/submodules/parquet-testing/data
84-
84+ export ARROW_TEST_DATA= ${1} /testing/data
8585pushd ${source_dir} /parquet
8686
8787go test $testargs -tags assert ./...
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import (
2020 "bufio"
2121 "fmt"
2222 "os"
23+ "path"
2324 "reflect"
2425 "strconv"
2526 "testing"
@@ -688,8 +689,14 @@ func TestDeltaByteArrayEncoding(t *testing.T) {
688689}
689690
690691func TestDeltaBitPacking (t * testing.T ) {
691- require .FileExists (t , "testdata/timestamp.data" )
692- f , err := os .Open ("testdata/timestamp.data" )
692+ datadir := os .Getenv ("ARROW_TEST_DATA" )
693+ if datadir == "" {
694+ return
695+ }
696+
697+ fname := path .Join (datadir , "parquet/timestamp.data" )
698+ require .FileExists (t , fname )
699+ f , err := os .Open (fname )
693700 if err != nil {
694701 t .Fatal (err )
695702 }
You can’t perform that action at this time.
0 commit comments