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
  • Catalog
  • pyflink.table.catalog.Catalog.list_partitions

pyflink.table.catalog.Catalog.list_partitions#

Catalog.list_partitions(table_path: ObjectPath, partition_spec: CatalogPartitionSpec | None = None) → List[CatalogPartitionSpec][source]#

Get CatalogPartitionSpec of all partitions of the table.

Parameters:
  • table_path – Path ObjectPath of the table.

  • partition_spec – The partition spec CatalogPartitionSpec to list.

Returns:

A list of CatalogPartitionSpec of the table.

Raise:

CatalogException in case of any runtime exception. TableNotExistException thrown if the table does not exist in the catalog. TableNotPartitionedException thrown if the table is not partitioned.

previous

pyflink.table.catalog.Catalog.alter_table

next

pyflink.table.catalog.Catalog.get_partition

On this page
  • Catalog.list_partitions()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.