scovich commented on PR #10157: URL: https://github.com/apache/arrow-rs/pull/10157#issuecomment-4855272677
> I think `shred_variant` doesn't _have_ to use `parquet-variant` - `as_*` identity APIs. > > `shred_variant` should have it's own match arms for cast semantics for specific types. Fair point. But (a) we'd still need the lossless casting logic _somewhere_, if we choose anything other than identity semantics; and (b) the general `cast` kernel isn't a good fit for variant's semantics where outliers and wrong-type values are not just expected but embraced. I guess the question is, how much support should arrow-rs give to variant users who care about losslessly preserving heterogeneous values, outside of shredding? -- 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]
