---
title: "list_zip function in Strata | Oplema"
description: "Combine lists position by position into a list of structs, as long as the longest input. Write it as list_zip(list1, list2) in a Strata Formula or Filter."
url: "https://oplema.com/docs/strata/functions/list-zip"
updated: "2026-11-04"
---

# list\_zip

Pair up items by position from two or more lists, returning a list of structs. Shorter lists are padded with missing values unless you set truncate, which stops at the shortest list.

Also available as array\_zip.

## Try an expression

In [Formula](https://oplema.com/docs/strata/prep/formula), enter the expression and set Output type to **VARCHAR**.

### Expression

```
list_zip([1, 2], [3, 4], [5, 6])
```

### Result

```
'[(1, 3, 5), (2, 4, 6)]'
```

The expression returns `STRUCT(INTEGER, INTEGER, INTEGER)[]`. Formula stores it as `VARCHAR` in this example. To use your own data, replace the example values with column names. Keep format strings and other options as written.

Try it live in Formula

Result
| id | result |
| --- | --- |
| 1 | \[(1, 3, 5), (2, 4, 6)\] |

## Arguments and types

```
list_zip(...)
```

Supported signatures (1)

```
list_zip(...: ANY) → STRUCT[]
```

The result type can depend on the input types. See DuckDB for the full argument rules.

## Things to know

### With a missing first argument

```
list_zip(NULL::INTEGER[], [3, 4], [5, 6])
```

'\[(NULL, 3, 5), (NULL, 4, 6)\]'

## Related functions

[list\_resize

Resize a list to the given size. New items take the given value, or a missing value if none is given.

](https://oplema.com/docs/strata/functions/list-resize)[list\_any\_value

Take the first non-missing value from a list.

](https://oplema.com/docs/strata/functions/list-any-value)[list\_bool\_and

Calculate whether all non-missing values are true from the values in a list.

](https://oplema.com/docs/strata/functions/list-bool-and)[list\_bool\_or

Calculate whether any non-missing value is true from the values in a list.

](https://oplema.com/docs/strata/functions/list-bool-or)

[Browse lists & arrays](https://oplema.com/docs/strata/functions#lists-&-arrays) [DuckDB documentation](https://duckdb.org/docs/current/sql/functions/list.html#list_ziplist_1-list_n-truncate)

Function metadata from DuckDB, used under the [MIT license](https://github.com/duckdb/duckdb/blob/v1.5.4/LICENSE).
