Skip to content

Commit

Permalink
fix(flink): correct the translation of ops.Power
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman authored and cpcloud committed Sep 13, 2023
1 parent 95474e6 commit 42d2236
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ibis/backends/flink/registry.py
Expand Up @@ -219,6 +219,7 @@ def _floor_divide(translator: ExprTranslator, op: ops.Node) -> str:
ops.TimestampFromUNIX: _timestamp_from_unix,
ops.Window: _window,
# Binary operations
ops.Power: fixed_arity("power", 2),
ops.FloorDivide: _floor_divide,
}
)

0 comments on commit 42d2236

Please sign in to comment.