klion26 commented on issue #8982: URL: https://github.com/apache/arrow-rs/issues/8982#issuecomment-4037130113
@alamb @scovich The plan is to handle the cast logic within every `Variant::as_xx` function. Do you think this is the right direction? If so, I'll move forward with it. The reasons for implementing the cast logic in `Variant::as_xx` are as follows: 1. Currently, arrow cast kernels are column-based, while the casts in `variant_get` are row-based; we can't directly use the cast kernel; we can only reuse the logic in the cast kernel as much as possible. 2. This requires maintaining the cast logic in two places, but the basic cast logic remains changed little over time, so it should be manageable. -- 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]
