You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "fbx31 (via GitHub)" <gi...@apache.org> on 2025/05/23 11:16:25 UTC
[I] Arraylength UDF not fully implemented or inconcistent [datafusion]
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-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Arraylength UDF not fully implemented or inconcistent [datafusion]
Posted by "chenkovsky (via GitHub)" <gi...@apache.org>.
chenkovsky commented on issue #16163:
URL: https://github.com/apache/datafusion/issues/16163#issuecomment-2904223303
take
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Arraylength UDF not fully implemented or inconcistent [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #16163: Arraylength UDF not fully implemented or inconcistent
URL: https://github.com/apache/datafusion/issues/16163
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org