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.catalog.Catalog.drop_partition#

Catalog.drop_partition(table_path: ObjectPath, partition_spec: CatalogPartitionSpec, ignore_if_not_exists: bool)[source]#

Drop a partition.

Parameters
  • table_path – Path ObjectPath of the table.

  • partition_spec – Partition spec CatalogPartitionSpec of the partition to drop.

  • ignore_if_not_exists – Flag to specify behavior if the database does not exist: if set to false, throw an exception, if set to true, nothing happens.

Raise

CatalogException in case of any runtime exception. PartitionNotExistException thrown if the target partition does not exist.

previous

pyflink.table.catalog.Catalog.create_partition

next

pyflink.table.catalog.Catalog.alter_partition

On this page
  • Catalog.drop_partition()
Show Source

Created using Sphinx 5.3.0.