scovich commented on issue #8289: URL: https://github.com/apache/arrow-rs/issues/8289#issuecomment-3265986677
The current cast design treats every `convert_map` call as "top level" because it always converts every column to variant independently, and complex types like struct combine child variants into parent variants. So I think it suffices to make `convert_map` check for a null input and append_null to its builder? And then a bunch of weird offset calculations can go away. -- 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