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.get_partition

pyflink.table.catalog.Catalog.get_partition#

Catalog.get_partition(table_path: ObjectPath, partition_spec: CatalogPartitionSpec) → CatalogPartition[source]#

Get a partition of the given table. The given partition spec keys and values need to be matched exactly for a result.

Parameters:
  • table_path – Path ObjectPath of the table.

  • partition_spec – The partition spec CatalogPartitionSpec of partition to get.

Returns:

The requested partition CatalogPartition.

Raise:

CatalogException in case of any runtime exception. PartitionNotExistException thrown if the partition doesn’t exist.

previous

pyflink.table.catalog.Catalog.list_partitions

next

pyflink.table.catalog.Catalog.partition_exists

On this page
  • Catalog.get_partition()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.