Skip to content

Commit d3c754f

Browse files
cpcloudkszucs
authored andcommitted
feat(snowflake): implement array flatten support
1 parent d15c6e6 commit d3c754f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ibis/backends/snowflake/registry.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ def _timestamp_bucket(t, op):
422422
ops.ArrayZip: _array_zip,
423423
ops.ArraySort: unary(sa.func.array_sort),
424424
ops.ArrayRepeat: fixed_arity(sa.func.ibis_udfs.public.array_repeat, 2),
425+
ops.ArrayFlatten: fixed_arity(sa.func.array_flatten, 1),
425426
ops.StringSplit: fixed_arity(sa.func.split, 2),
426427
# snowflake typeof only accepts VARIANT, so we cast
427428
ops.TypeOf: unary(lambda arg: sa.func.typeof(sa.func.to_variant(arg))),

0 commit comments

Comments
 (0)