Skip to content

Commit

Permalink
feat(trino): implement array flatten support
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored and kszucs committed Nov 21, 2023
1 parent 0a0eecc commit 0d1faaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ibis/backends/trino/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,7 @@ def _interval_from_integer(t, op):
ops.ArraySort: fixed_arity(sa.func.array_sort, 1),
ops.ArrayRemove: fixed_arity(sa.func.array_remove, 2),
ops.ArrayUnion: fixed_arity(sa.func.array_union, 2),
ops.ArrayFlatten: unary(sa.func.flatten),
ops.JSONGetItem: _json_get_item,
ops.ExtractDayOfYear: unary(sa.func.day_of_year),
ops.ExtractWeekOfYear: unary(sa.func.week_of_year),
Expand Down

0 comments on commit 0d1faaa

Please sign in to comment.