DuckDB lambda functions (a.k.a. 'lambdas' or 'lambda expressions') are expressions that define an inline anonymous function. Lambdas are passed as argument to certain list functions, which evaluate the passed lambda expression against its elements. The value resulting from the lambda's evaluation is then processed further by the list function to create its return value. Lambdas may also be used in the COLUMNS clause…