Skip to content

Commit

Permalink
chore(bigquery): add back argmin/argmax reductions
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Sep 26, 2024
1 parent 541db20 commit dbddaa6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ibis/backends/sql/compilers/bigquery/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ class BigQueryCompiler(SQLGlotCompiler):
ops.TimeFromHMS: "time_from_parts",
ops.TimestampNow: "current_timestamp",
ops.ExtractHost: "net.host",
ops.ArgMin: "min_by",
ops.ArgMax: "max_by",
}

def to_sqlglot(
Expand Down

0 comments on commit dbddaa6

Please sign in to comment.