alamb opened a new issue, #8946:
URL: https://github.com/apache/arrow-rs/issues/8946

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   - As shown in https://github.com/apache/arrow-rs/pull/8945
   
   You can create a 
[`VariantPath`](https://docs.rs/parquet/latest/parquet/variant/struct.VariantPath.html)
 from a string like this: 
   
   ```rust
   let path = VariantPath::from("city.store");
   ```
   
   However, that format does not currently support selecting array elements
   
   So for example, there is no way to parse the equivalent of this (select the 
title from the 4th book): `city.store.books[3].title`
   
   
   
   
   
   
   
   **Describe the solution you'd like**
   I would like to be able to do something like
   
   ```rust
   VariantPath::from("city.store.books[3].title");
   ```
   
   And get the equivalent of
   ```rust
   VariantPath::from("city")
     .join("store")
     .join("books")
     .join(3)
     .join("title")
   ```
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
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]

Reply via email to