Skip to content

Commit

Permalink
feat(duckdb): implement argmin and argmax
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Aug 20, 2022
1 parent ee7c878 commit abf03f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ibis/backends/duckdb/registry.py
Expand Up @@ -229,6 +229,8 @@ def _struct_column(t, expr):
ops.Arbitrary: _arbitrary,
ops.GroupConcat: _string_agg,
ops.StructColumn: _struct_column,
ops.ArgMin: reduction(sa.func.min_by),
ops.ArgMax: reduction(sa.func.max_by),
}
)

Expand Down

0 comments on commit abf03f1

Please sign in to comment.