lidavidm opened a new issue, #834:
URL: https://github.com/apache/arrow-go/issues/834
### Describe the bug, including details regarding any error messages,
version, and platform.
```go
func TestParquetLargeList(t *testing.T) {
// Test that upstream is broken
mem := memory.NewCheckedAllocator(memory.DefaultAllocator)
defer mem.AssertSize(t, 0)
schema := arrow.NewSchema([]arrow.Field{
{
Name: "values",
Type: arrow.LargeListOf(arrow.PrimitiveTypes.Int32),
Nullable: true,
},
}, nil)
batch := testutil.RecordFromJSON(t, mem, schema, `[{"values": [1, 2,
3]}, {"values": null}, {"values": [4, 5]}]`)
ch := make(chan arrow.RecordBatch, 1)
ch <- batch
var buf bytes.Buffer
parquetProps, arrowProps := newWriterProps(mem,
new(DefaultIngestOptions()))
err := writeParquet(batch.Schema(), &buf, ch, -1, parquetProps,
arrowProps)
require.ErrorContains(t, err, "type mismatch, column is int32 writer,
arrow array is large_list, and not a compatible type")
}
```
### Component(s)
Parquet
--
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]