pub fn wrap_duckdb_unnest_struct(expr: Expression) -> Result<Expression>Expand description
Wrap DuckDB UNNEST of struct arrays in (SELECT UNNEST(…, max_depth => 2)) subquery. BigQuery UNNEST of struct arrays needs this wrapping for DuckDB to properly expand struct fields.