Skip to content

Commit

Permalink
add to python
Browse files Browse the repository at this point in the history
  • Loading branch information
snuyanzin committed Mar 6, 2024
1 parent 964db23 commit 280dc61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flink-python/pyflink/table/expression.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,10 @@ def collect(self) -> 'Expression':
def array_agg(self) -> 'Expression':
return _unary_op("arrayAgg")(self)

@property
def mode_agg(self) -> 'Expression':
return _unary_op("modeAgg")(self)

def alias(self, name: str, *extra_names: str) -> 'Expression[T]':
"""
Specifies a name for an expression i.e. a field.
Expand Down

0 comments on commit 280dc61

Please sign in to comment.