alamb commented on issue #8150:
URL: https://github.com/apache/arrow-rs/issues/8150#issuecomment-3192176447

   Specifically, the tests will ensure we all agree what we are trying to 
accomplish / implement. We don't need to implement all possible combinations 
now, but getting the basics would be helpful
   
   Perhaps we can start with something simple like an input object like
   
   Row 1
   ```json
   {
     "a" : {
       "x": 55
     },
     "b": 42
   }
   ```
   
   Row 2
   ```
   {
     "a" : {
       "x": "foo"
     },
     "b": 42
   }
   ```
   
   Where x is stored  in a `typed_value` column
   
   However, given that row2 has "x" as a string, it will need to be stored as a 
variant I think
   
   
   So then `variant_get(array, "a.x", Int32)` should return this I believe:
   ```
   55
   NULL
   ```
   
   Maybe @scovich can checi me on that
   
   


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to