alamb commented on code in PR #8141:
URL: https://github.com/apache/arrow-rs/pull/8141#discussion_r2277353631
##########
parquet-variant/src/builder.rs:
##########
@@ -105,6 +105,35 @@ impl From<ValueBuffer> for Vec<u8> {
value_buffer.0
}
}
+/// Macro to generate the match statement for each append_variant,
try_append_variant, and
+/// append_variant_bytes -- they each have slightly different handling for
object and list handling.
+macro_rules! variant_append_value {
Review Comment:
nice
--
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]