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

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   - part of https://github.com/apache/arrow-rs/issues/6736
   
   We are implementing Variant, and part of doing so is ensuring that the Rust 
implementation is compatible with other implementations
   
   **Describe the solution you'd like**
   I would like a harness that
   1. For each test listed in `cases.json`
   2. Reads the expected variant.bin file and creates a `Variant` from it
   3. Reads the data from the Parquet file (should be a StructArray)
   4. Construct a VariantArray
   5. Read the value from the VariantArray (using both `VariantArray::value` 
and the `variant_get` kernel)
   6. Verify that the value from the VariantArray matches the Variant read from 
the .bin file 
   
   Many of the cases will not to pass initially -- that is fine, we should just 
mark them as `#[ignore]` or something and we will enable them as we work 
through the Variant implementation
   
   **Describe alternatives you've considered**
   
   I recommend using this PR from @rdblue
   - https://github.com/apache/parquet-testing/pull/90
   
   - Here is an example of such an integration test for the go implementation 
https://github.com/apache/arrow-go/pull/455 written by @zeroshade  
(`parquet/pqarrow/variant_test.go` specifically)
   
   
   **Additional context**
   


-- 
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.apache.org

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

Reply via email to