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.table_descriptor.FormatDescriptor.Builder.option#

Builder.option(key: Union[str, ConfigOption], value) → Builder#

Sets the given option on the format.

Note that format options must not be prefixed with the format identifier itself here.

Example:

>>> FormatDescriptor.for_format("json")                 ...     .option("ignore-parse-errors", "true")                 ...     .build()

will automatically be converted into its prefixed form:

    'format' = 'json'
    'json.ignore-parse-errors' = 'true'

previous

pyflink.table.table_descriptor.FormatDescriptor.get_options

next

pyflink.table.table_descriptor.FormatDescriptor.Builder.build

On this page
  • Builder.option()
Show Source

Created using Sphinx 5.3.0.