pyflink.table.catalog.Column.metadata#
- static Column.metadata(name: str, data_type: pyflink.table.types.DataType, metadata_key: Optional[str], is_virtual: bool) pyflink.table.catalog.MetadataColumn[source]#
Creates a metadata column from metadata of the given column name or from metadata of the given key (if not null).
Allows to specify whether the column is virtual or not.