jarohen opened a new pull request, #41001: URL: https://github.com/apache/arrow/pull/41001
### Rationale for this change DUVs do not have a validity vector, so cannot be set to null - `isNull`, for example, always returns false. This change ensures vectors created through `DenseUnionVector.empty` reflect this in their FieldType. ### What changes are included in this PR? `DenseUnionVector.empty` now creates DUVs with a not-nullable `FieldType` ### Are these changes tested? I haven't added an explicit test for this as it would essentially be testing `FieldType.notNullable` - confirmed that it doesn't break any existing tests. ### Are there any user-facing changes? Yes, strictly speaking this is a public change, correcting a bug in a public API. -- 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]
