Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Table
  • pyflink.table.GroupedTable.select

pyflink.table.GroupedTable.select#

GroupedTable.select(*fields: Expression) → 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

On this page
  • GroupedTable.select()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.