dgvj-work opened a new pull request, #1243:
URL: https://github.com/apache/arrow-go/pull/1243

   ### Rationale for this change
   
   A Null `typed_value` column is not a valid shredded Variant type. Nulls are 
encoded in the `value` column as Variant null (`00`). A dedicated Null 
`typed_value` would also make “field present and null” indistinguishable from 
“field missing” for shredded objects.
   
   See apache/arrow#50622 and apache/arrow#50810.
   
   Fixes #1205
   
   ### What changes are included in this PR?
   
   - `NewVariantType` rejects a Null `typed_value` field
   - Nested shredded fields with a Null `typed_value` are also rejected
   
   ### Are these changes tested?
   
   - `go test ./arrow/extensions`
   
   ### Are there any user-facing changes?
   
   Yes — constructing a Variant extension type with a Null `typed_value` now 
returns `arrow.ErrInvalid`.
   
   
   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]

Reply via email to