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_schema.TableSchema.Builder.field#

Builder.field(name: str, data_type: DataType) → Builder#

Add a field with name and data type.

The call order of this method determines the order of fields in the schema.

Parameters
  • name – The field name.

  • data_type – The field data type.

Returns

This object.

previous

pyflink.table.table_schema.TableSchema.to_row_data_type

next

pyflink.table.table_schema.TableSchema.Builder.build

On this page
  • Builder.field()
Show Source

Created using Sphinx 5.3.0.