Skip to content

Commit

Permalink
fix(flink): translate ops.RandomScalar to rand
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman authored and cpcloud committed Sep 14, 2023
1 parent 8f2a40f commit c485a92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ibis/backends/flink/registry.py
Expand Up @@ -195,6 +195,7 @@ def _floor_divide(translator: ExprTranslator, op: ops.Node) -> str:
{
# Unary operations
ops.NullIfZero: _nullifzero,
ops.RandomScalar: lambda *_: "rand()",
ops.Degrees: unary("degrees"),
ops.Radians: unary("radians"),
# Unary aggregates
Expand Down

0 comments on commit c485a92

Please sign in to comment.