pyflink.table.table_schema.TableSchema.Builder.field#
- Builder.field(name: str, data_type: pyflink.table.types.DataType) pyflink.table.table_schema.TableSchema.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.