Skip to content

Commit 19b2aa0

Browse files
cpcloudkszucs
authored andcommitted
feat(polars): implement array flatten support
1 parent 3cbed71 commit 19b2aa0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ibis/backends/polars/compiler.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,11 @@ def array_collect(op, **kw):
885885
return arg
886886

887887

888+
@translate.register(ops.ArrayFlatten)
889+
def array_flatten(op, **kw):
890+
return pl.concat_list(translate(op.arg, **kw))
891+
892+
888893
_date_methods = {
889894
ops.ExtractDay: "day",
890895
ops.ExtractMonth: "month",

0 commit comments

Comments
 (0)