Skip to content

Commit

Permalink
feat(snowflake): implement ArrayCollect
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jan 18, 2023
1 parent a72c844 commit c425f68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ibis/backends/snowflake/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ def _map(_, op):
*map(t.translate, op.cols)
),
ops.ArraySlice: _array_slice,
ops.ArrayCollect: reduction(sa.func.array_agg),
ops.Map: _map,
}
)
Expand All @@ -231,7 +232,6 @@ def _map(_, op):
# ibis.expr.operations.reductions
ops.All,
ops.Any,
ops.ArrayCollect,
ops.BitAnd,
ops.BitOr,
ops.BitXor,
Expand Down
10 changes: 1 addition & 9 deletions ibis/backends/tests/test_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,15 +495,7 @@ def mean_and_std(v):
id="collect",
marks=[
mark.notimpl(
[
"dask",
"impala",
"mysql",
"snowflake",
"sqlite",
"datafusion",
"mssql",
]
["dask", "impala", "mysql", "sqlite", "datafusion", "mssql"]
)
],
),
Expand Down

0 comments on commit c425f68

Please sign in to comment.