scovich opened a new pull request, #8359: URL: https://github.com/apache/arrow-rs/pull/8359
# Which issue does this PR close? We generally require a GitHub issue to be filed for all bug fixes and enhancements and this helps us generate change logs for our releases. You can link an issue to this PR using the GitHub syntax. - Closes #NNN. # Rationale for this change Variant metadata only "matters" for variant values that contain objects. Especially in unit tests, it is common for a given variant value to have an empty variant metadata -- often one created separately and replicated across many rows. # What changes are included in this PR? Define new constants, `EMPTY_VARIANT_METADATA_BYTES` and `EMPTY_VARIANT_METADATA`, which are exactly what they sound like. # Are these changes tested? New doc tests, and several unit tests were updated to use it as well. # Are there any user-facing changes? New constants -- 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]
