Skip to content

Commit

Permalink
feat(clickhouse): 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 5b2039b commit ee7c878
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ibis/backends/clickhouse/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -751,6 +751,8 @@ def _struct_field(translator, expr):
ops.Sum: _agg('sum'),
ops.Max: _agg('max'),
ops.Min: _agg('min'),
ops.ArgMin: _agg('argMin'),
ops.ArgMax: _agg('argMax'),
ops.ArrayCollect: _agg('groupArray'),
ops.StandardDev: _agg_variance_like('stddev'),
ops.Variance: _agg_variance_like('var'),
Expand Down

0 comments on commit ee7c878

Please sign in to comment.