drauschenbach edited a comment on pull request #12149:
URL: https://github.com/apache/arrow/pull/12149#issuecomment-1025968885
I'm looking to get up to speed on the Go bindings through this PR, and so
far I can get most of the tests to run (not including ones that require a
`PARQUET_TEST_DATA` dir, which I'm not sure what to specify):
```sh
$ ci/scripts/go_build.sh `pwd`
$ cd go; go test -v ./...
(no failures)
```
But I'm struggling to kick the tires on the `parquet_reader` and
`parquet_schema` commands. I've tried a few Parquet files and get the same
result:
```sh
$ ~/go/bin/parquet_schema ~/nyc-taxi-data/2009/01/data.parquet
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x100689fec]
goroutine 1 [running]:
github.com/apache/arrow/go/v7/parquet/file.NewParquetReader({0x100750e00,
0x14000138240}, {0x140001b1f38, 0x2, 0x2})
/Users/davidr/workspaces/zeroshade-arrow/go/parquet/file/file_reader.go:144
+0x7c
github.com/apache/arrow/go/v7/parquet/file.OpenParquetFile({0x16f923984,
0x3f}, 0x0, {0x140001b1f38, 0x2, 0x2})
/Users/davidr/workspaces/zeroshade-arrow/go/parquet/file/file_reader.go:132
+0x110
main.main()
/Users/davidr/workspaces/zeroshade-arrow/go/parquet/cmd/parquet_schema/main.go:37
+0xb8
```
Any tips?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]