gart-samjon701823 commented on issue #7043: URL: https://github.com/apache/arrow-rs/issues/7043#issuecomment-2620369163
Hello, we tried to solve the issue. This is what we did: Modified the cast_list_to_fixed_size_list function to handle None values properly when casting a ListArray to FixedSizeListArray. Added checks to skip None values and pad the output with nulls instead of panicking. You can review changes in this commit: https://github.com/gart-samjon701823/apache-arrow-rs-7043/commit/b5aa2bf0dd182e5ea9cd9cc3c243f833147d5d45. > [!CAUTION] > Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only. --- Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account. -- 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]
