fbx31 opened a new issue, #16163: URL: https://github.com/apache/datafusion/issues/16163
### Describe the bug Today it's impossible to call array_length function on a FixedSizeList data type. From length.rs in [datafusion_functions_nested], despite the return_type function implements `List(_) | LargeList(_) | FixedSizeList(_, _) => UInt64` , the array_length_inner function is implemented only for List and LargeList, not FixedSizeList ``` match &args[0].data_type() { List(_) => general_array_length::<i32>(args), LargeList(_) => general_array_length::<i64>(args), array_type => exec_err!("array_length does not support type '{array_type:?}'"), } ``` ### To Reproduce _No response_ ### Expected behavior Add FixedSizeList supports in length.rs file to be able to call array_length on FixedSizeList datatypes. ### Additional context _No response_ -- 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.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