Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.GroupedTable.select#

GroupedTable.select(*fields: Union[str, pyflink.table.expression.Expression]) → pyflink.table.table.Table[source]#

Performs a selection operation on a grouped table. Similar to an SQL SELECT statement. The field expressions can contain complex expressions and aggregations.

Example:

>>> tab.group_by(col('key')).select(col('key'), col('value').avg.alias('average'))
Parameters

fields – Expression string that contains group keys and aggregate function calls.

Returns

The result table.

previous

pyflink.table.Table.window

next

pyflink.table.GroupedTable.aggregate

Show Source

Created using Sphinx 4.5.0.