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.alter_table_statistics#

Catalog.alter_table_statistics(table_path: pyflink.table.catalog.ObjectPath, table_statistics: pyflink.table.catalog.CatalogTableStatistics, ignore_if_not_exists: bool)[source]#

Update the statistics of a table.

Parameters
  • table_path – Path ObjectPath of the table.

  • table_statistics – New statistics CatalogTableStatistics to update.

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

Raise

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

previous

pyflink.table.catalog.Catalog.get_partition_column_statistics

next

pyflink.table.catalog.Catalog.alter_table_column_statistics

Show Source

Created using Sphinx 4.5.0.