Skip to content

Commit

Permalink
feat(bigquery): implement pi and e
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jan 2, 2023
1 parent c0e8736 commit b91370a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ibis/backends/bigquery/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,8 @@ def _array_repeat(t, op):
ops.IsInf: _is_inf,
ops.ArgMin: _arg_min_max("ASC"),
ops.ArgMax: _arg_min_max("DESC"),
ops.Pi: lambda *_: "ACOS(-1)",
ops.E: lambda *_: "EXP(1)",
}

_invalid_operations = {
Expand Down

0 comments on commit b91370a

Please sign in to comment.