jayzhan211 commented on issue #13819: URL: https://github.com/apache/datafusion/issues/13819#issuecomment-2550030569
If we eagerly convert a fixed-size list into a standard list, we can avoid handling fixed-size lists in array functions. While this approach isn't entirely straightforward, it aligns with the intended result: ```rust query T select arrow_typeof(arrow_cast([1,2,3], 'FixedSizeList(3, Int64)')); ---- FixedSizeList(Field { name: "item", data_type: Int64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, 3) // make_array() coerce fixed size list to list query T select arrow_typeof(make_array(arrow_cast([1,2,3], 'FixedSizeList(3, Int64)'))); ---- List(Field { name: "item", data_type: List(Field { name: "item", data_type: Int64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }), nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }) ``` -- 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...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org