Skip to content
Closed
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
1 change: 0 additions & 1 deletion dev/archery/archery/integration/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ def _gold_tests(self, gold_dir):
skip.add("JS")
skip.add("Rust")
if prefix == '2.0.0-compression':
skip.add("Go")
skip.add("JS")
skip.add("Rust")

Expand Down
10 changes: 5 additions & 5 deletions docs/source/status.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Data Types
+-------------------+-------+-------+-------+------------+-------+-------+-------+
| Float32/64 | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
+-------------------+-------+-------+-------+------------+-------+-------+-------+
| Decimal128 | ✓ | ✓ | | | ✓ | ✓ | ✓ |
| Decimal128 | ✓ | ✓ | | | ✓ | ✓ | ✓ |
+-------------------+-------+-------+-------+------------+-------+-------+-------+
| Decimal256 | ✓ | ✓ | | | ✓ | | ✓ |
+-------------------+-------+-------+-------+------------+-------+-------+-------+
Expand Down Expand Up @@ -126,7 +126,7 @@ IPC Format
+-----------------------------+-------+-------+-------+------------+-------+-------+-------+
| Sparse tensors | ✓ | | | | | | |
+-----------------------------+-------+-------+-------+------------+-------+-------+-------+
| Buffer compression | ✓ | ✓ (3) | | | | | ✓ |
| Buffer compression | ✓ | ✓ (3) | | | | | ✓ |
+-----------------------------+-------+-------+-------+------------+-------+-------+-------+
| Endianness conversion | ✓ (2) | | | | | | |
+-----------------------------+-------+-------+-------+------------+-------+-------+-------+
Expand All @@ -152,13 +152,13 @@ Flight RPC
| Flight RPC Feature | C++ | Java | Go | JavaScript | C# | Rust | Julia |
| | | | | | | | |
+=============================+=======+=======+=======+============+=======+=======+=======+
| gRPC transport | ✓ | ✓ | | | ✓ (1) | | |
| gRPC transport | ✓ | ✓ | | | ✓ (1) | | |
+-----------------------------+-------+-------+-------+------------+-------+-------+-------+
| gRPC + TLS transport | ✓ | ✓ | | | ✓ | | |
| gRPC + TLS transport | ✓ | ✓ | | | ✓ | | |
+-----------------------------+-------+-------+-------+------------+-------+-------+-------+
| RPC error codes | ✓ | ✓ | | | ✓ | | |
+-----------------------------+-------+-------+-------+------------+-------+-------+-------+
| Authentication handlers | ✓ | ✓ | | | ✓ (2) | | |
| Authentication handlers | ✓ | ✓ | | | ✓ (2) | | |
+-----------------------------+-------+-------+-------+------------+-------+-------+-------+
| Custom client middleware | ✓ | ✓ | | | | | |
+-----------------------------+-------+-------+-------+------------+-------+-------+-------+
Expand Down
5 changes: 4 additions & 1 deletion go/arrow/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,12 @@ go 1.12

require (
github.com/davecgh/go-spew v1.1.0 // indirect
github.com/frankban/quicktest v1.11.3 // indirect
github.com/golang/protobuf v1.4.2
github.com/google/flatbuffers v1.11.0
github.com/klauspost/compress v1.11.13
github.com/pierrec/lz4 v2.6.0+incompatible
github.com/pierrec/lz4/v4 v4.1.4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.2.0
golang.org/x/net v0.0.0-20200904194848-62affa334b73 // indirect
Expand All @@ -30,6 +34,5 @@ require (
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543
google.golang.org/genproto v0.0.0-20200911024640-645f7a48b24f // indirect
google.golang.org/grpc v1.32.0
google.golang.org/grpc/cmd/protoc-gen-go-grpc v0.0.0-20200910201057-6591123024b3 // indirect
google.golang.org/protobuf v1.25.0
)
24 changes: 15 additions & 9 deletions go/arrow/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymF
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/frankban/quicktest v1.11.3 h1:8sXhOn0uLys67V8EsXLc6eszDs8VXWxL3iRvebPhedY=
github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
Expand All @@ -19,7 +21,6 @@ github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:x
github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs=
github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w=
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
github.com/golang/protobuf v1.4.1 h1:ZFgWrT+bLgsYPirOnRfKLYJLvssAegOj/hgyMFdJZe0=
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0=
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
Expand All @@ -29,8 +30,20 @@ github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5a
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0 h1:/QaMHBdZ26BB3SSst0Iwl10Epc+xhTquomWX0oZEB6w=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/klauspost/compress v1.11.13 h1:eSvu8Tmq6j2psUJqJrLcWH6K3w5Dwc+qipbaA6eVEN4=
github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/pierrec/lz4 v2.6.0+incompatible h1:Ix9yFKn1nSPBLFl/yZknTp8TU5G4Ps0JDmguYK6iH1A=
github.com/pierrec/lz4 v2.6.0+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
github.com/pierrec/lz4/v4 v4.1.4 h1:PjkB+qEooc9nw4F6Pxe/e0xaRdWz3suItXWxWqAO1QE=
github.com/pierrec/lz4/v4 v4.1.4/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
Expand All @@ -45,7 +58,6 @@ golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHl
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20200904194848-62affa334b73 h1:MXfv8rhZWmFeqX3GNZRsd6vOLoaCHjYEX3qkRo3YBUA=
Expand All @@ -55,13 +67,11 @@ golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200909081042-eff7692f9009 h1:W0lCpv29Hv0UaM1LXb9QlBHLNP8UFfcKjblhVCWftOM=
golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
Comment thread
zeroshade marked this conversation as resolved.
Outdated
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
Expand All @@ -76,19 +86,15 @@ google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9Ywl
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/genproto v0.0.0-20200911024640-645f7a48b24f h1:Yv4xsIx7HZOoyUGSJ2ksDyWE2qIBXROsZKt2ny3hCGM=
google.golang.org/genproto v0.0.0-20200911024640-645f7a48b24f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
google.golang.org/grpc v1.27.0 h1:rRYRFMVgRv6E0D70Skyfsr28tDXIuuPZyWGMPdMcnXg=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.32.0 h1:zWTV+LMdc3kaiJMSTOFz2UgSBgx8RNQoTGiZu3fR9S0=
google.golang.org/grpc v1.32.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v0.0.0-20200910201057-6591123024b3 h1:MZjUhWVLZHiPPNKvwdt31HZVHrASfgk1ScV3vVTKbDo=
google.golang.org/grpc/cmd/protoc-gen-go-grpc v0.0.0-20200910201057-6591123024b3/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
Expand Down
83 changes: 82 additions & 1 deletion go/arrow/internal/arrdata/ioutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import (

"github.com/apache/arrow/go/arrow"
"github.com/apache/arrow/go/arrow/array"
"github.com/apache/arrow/go/arrow/internal/flatbuf"
"github.com/apache/arrow/go/arrow/ipc"
"github.com/apache/arrow/go/arrow/memory"
)
Expand Down Expand Up @@ -128,7 +129,7 @@ func CheckArrowStream(t *testing.T, f *os.File, mem memory.Allocator, schema *ar
for r.Next() {
rec := r.Record()
if !array.RecordEqual(rec, recs[n]) {
t.Fatalf("records[%d] differ", n)
t.Fatalf("records[%d] differ, got: %s, expected %s", n, rec, recs[n])
}
n++
}
Expand Down Expand Up @@ -166,6 +167,55 @@ func WriteFile(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Sch
t.Fatalf("could not sync data to disk: %v", err)
}

// put the cursor back at the start of the file before returning rather than
// leaving it at the end so the reader can just start reading from the handle
// immediately for the test.
_, err = f.Seek(0, io.SeekStart)
if err != nil {
t.Fatalf("could not seek to start: %v", err)
}
}

// WriteFile writes a list of records to the given file descriptor, as an ARROW file.
func WriteFileCompressed(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Schema, recs []array.Record, codec flatbuf.CompressionType) {
Comment thread
zeroshade marked this conversation as resolved.
Outdated
t.Helper()

opts := []ipc.Option{ipc.WithSchema(schema), ipc.WithAllocator(mem)}
switch codec {
case flatbuf.CompressionTypeLZ4_FRAME:
opts = append(opts, ipc.WithLZ4())
case flatbuf.CompressionTypeZSTD:
opts = append(opts, ipc.WithZstd())
default:
t.Fatalf("invalid compression codec %v, only LZ4_FRAME or ZSTD is allowed", codec)
}
Comment thread
zeroshade marked this conversation as resolved.
Outdated

w, err := ipc.NewFileWriter(f, opts...)
if err != nil {
t.Fatal(err)
}
defer w.Close()

for i, rec := range recs {
err = w.Write(rec)
if err != nil {
t.Fatalf("could not write record[%d]: %v", i, err)
}
}

err = w.Close()
if err != nil {
t.Fatal(err)
}

err = f.Sync()
if err != nil {
t.Fatalf("could not sync data to disk: %v", err)
}

// put the cursor back at the start of the file before returning rather than
// leaving it at the end so the reader can just start reading from the handle
// immediately for the test.
_, err = f.Seek(0, io.SeekStart)
Comment thread
zeroshade marked this conversation as resolved.
Outdated
if err != nil {
t.Fatalf("could not seek to start: %v", err)
Expand All @@ -191,3 +241,34 @@ func WriteStream(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.S
t.Fatal(err)
}
}

// WriteStreamCompressed writes a list of records to the given file descriptor as an ARROW stream
// using the provided compression type.
func WriteStreamCompressed(t *testing.T, f *os.File, mem memory.Allocator, schema *arrow.Schema, recs []array.Record, codec flatbuf.CompressionType, np int) {
t.Helper()

opts := []ipc.Option{ipc.WithSchema(schema), ipc.WithAllocator(mem), ipc.WithCompressConcurrency(np)}
switch codec {
case flatbuf.CompressionTypeLZ4_FRAME:
opts = append(opts, ipc.WithLZ4())
case flatbuf.CompressionTypeZSTD:
opts = append(opts, ipc.WithZstd())
default:
t.Fatalf("invalid compression codec %v, only LZ4_FRAME or ZSTD is allowed", codec)
}

w := ipc.NewWriter(f, opts...)
defer w.Close()

for i, rec := range recs {
err := w.Write(rec)
if err != nil {
t.Fatalf("could not write record[%d]: %v", i, err)
}
}

err := w.Close()
if err != nil {
t.Fatal(err)
}
}
14 changes: 7 additions & 7 deletions go/arrow/ipc/cmd/arrow-cat/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ record 3...
},
{
name: "primitives",
want: `version: V4
want: `version: V5
record 1/3...
col[0] "bools": [true (null) (null) false true]
col[1] "int8s": [-1 (null) (null) -4 -5]
Expand Down Expand Up @@ -333,7 +333,7 @@ record 2...
},
{
name: "structs",
want: `version: V4
want: `version: V5
record 1/2...
col[0] "struct_nullable": {[-1 (null) (null) -4 -5 -11 (null) (null) -14 -15 -21 (null) (null) -24 -25 -31 (null) (null) -34 -35 -41 (null) (null) -44 -45] ["111" (null) (null) "444" "555" "1111" (null) (null) "1444" "1555" "2111" (null) (null) "2444" "2555" "3111" (null) (null) "3444" "3555" "4111" (null) (null) "4444" "4555"]}
record 2/2...
Expand All @@ -355,7 +355,7 @@ record 4...
},
{
name: "lists",
want: `version: V4
want: `version: V5
record 1/4...
col[0] "list_nullable": [[1 (null) (null) 4 5] [11 (null) (null) 14 15] [21 (null) (null) 24 25]]
record 2/4...
Expand All @@ -382,7 +382,7 @@ record 3...
},
{
name: "strings",
want: `version: V4
want: `version: V5
record 1/3...
col[0] "strings": ["1é" (null) (null) "4" "5"]
col[1] "bytes": ["1é" (null) (null) "4" "5"]
Expand All @@ -407,7 +407,7 @@ record 3...
},
{
name: "fixed_size_lists",
want: `version: V4
want: `version: V5
record 1/3...
col[0] "fixed_size_list_nullable": [[1 (null) 3] [11 (null) 13] [21 (null) 23]]
record 2/3...
Expand Down Expand Up @@ -459,7 +459,7 @@ record 3...
},
{
name: "fixed_width_types",
want: `version: V4
want: `version: V5
record 1/3...
col[0] "float16s": [1 (null) (null) 4 5]
col[1] "time32ms": [-2 (null) (null) 1 2]
Expand Down Expand Up @@ -511,7 +511,7 @@ record 3...
},
{
name: "fixed_size_binaries",
want: `version: V4
want: `version: V5
record 1/3...
col[0] "fixed_size_binary_3": ["001" (null) (null) "004" "005"]
record 2/3...
Expand Down
8 changes: 4 additions & 4 deletions go/arrow/ipc/cmd/arrow-ls/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ records: 3
},
{
name: "primitives",
want: `version: V4
want: `version: V5
schema:
fields: 11
- bools: type=bool, nullable
Expand Down Expand Up @@ -236,7 +236,7 @@ records: 2
},
{
name: "structs",
want: `version: V4
want: `version: V5
schema:
fields: 1
- struct_nullable: type=struct<f1: int32, f2: utf8>, nullable
Expand All @@ -254,7 +254,7 @@ records: 4
},
{
name: "lists",
want: `version: V4
want: `version: V5
schema:
fields: 1
- list_nullable: type=list<item: int32>, nullable
Expand All @@ -272,7 +272,7 @@ records: 3
},
{
name: "fixed_size_binaries",
want: `version: V4
want: `version: V5
schema:
fields: 1
- fixed_size_binary_3: type=fixed_size_binary[3], nullable
Expand Down
Loading