friendlymatthew commented on code in PR #7718:
URL: https://github.com/apache/arrow-rs/pull/7718#discussion_r2158938220
##########
parquet-variant/src/variant.rs:
##########
@@ -544,6 +544,35 @@ impl<'m, 'v> VariantList<'m, 'v> {
}
}
+const MAX_SHORT_STRING_SIZE: usize = 0x3F;
+
+/// A Variant [`ShortString`]
+#[derive(Debug, Clone, PartialEq)]
+pub struct ShortString<'a>(pub(crate) &'a str);
+
+impl<'a> ShortString<'a> {
Review Comment:
do we also want a method like `pub fn inner(&self) -> &str`?
--
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]