sdf-jkl opened a new issue, #10905: URL: https://github.com/apache/arrow-rs/issues/10905
Here we use type-based info to determine which target the current variant should belong to. This seems incorrect 1. Variant::Int64(1) can't convert to DataType::Int8, but this should valid when calling `variant_get` 2. The logic in the current code (json -> variant, and variant spec), treats the exact number the same in Variant::Int64/Int32/Int16 etc(value has no strict type in variant) (like the `Equivalence Class` in parquet variant spec) _Originally posted by @klion26 in https://github.com/apache/arrow-rs/pull/10313#discussion_r3841121078_ -- 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]
