mhilton commented on code in PR #9012:
URL: https://github.com/apache/arrow-rs/pull/9012#discussion_r2630070655
##########
parquet-variant/src/path.rs:
##########
@@ -223,4 +221,17 @@ mod tests {
let path = VariantPath::from_iter([p]);
assert!(!path.is_empty());
}
+
+ #[test]
+ fn test_variant_path_dot_notation_with_array_index() {
+ let path = VariantPath::from("city.store.books[3].title");
Review Comment:
It'd be good to add a test case where the path is just an index `[3]` and
one where it starts with an index `[3].title`.
--
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]