Skip to main content

list_length

Function list_length 

Source
pub fn list_length(input: Expression) -> Expression
Expand description

Creates an expression that computes the number of elements in each list for List and FixedSizeList inputs. This is akin to ANSI SQL CARDINALITY(), or DuckDB’s len()/array_length().

let expr = list_length(root());