dgvj-work opened a new pull request, #1242: URL: https://github.com/apache/arrow-go/pull/1242
### Rationale for this change Consensus in apache/parquet-format#591 is that the Variant `value` field is mandatory for writers. arrow-go currently omits it when a shredded schema has only `metadata` + `typed_value`. Reading files that already omit `value` should still work. Fixes #1204 ### What changes are included in this PR? - `ToParquet` errors if a Variant extension type has no `value` field - `FromParquet` still accepts Variant groups without `value` ### Are these changes tested? - `go test ./parquet/pqarrow -run 'TestVariantValueRequiredOnWrite|TestReadVariantWithoutValueField|TestConvertSchemaParquetVariant|TestShreddedVariantSchema'` ### Are there any user-facing changes? Yes — writing a Variant schema without a `value` field now returns `arrow.ErrInvalid`. Reading such files is unchanged. Made with [Cursor](https://cursor.com) -- 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]
