pyflink.table.expression.Expression.alias#
- Expression.alias(name: str, *extra_names: str) pyflink.table.expression.Expression[pyflink.table.expression.T] [source]#
Specifies a name for an expression i.e. a field.
Example:
>>> tab.select(col('a').alias('b'))
- Parameters
name – name for one field.
extra_names – additional names if the expression expands to multiple fields
New in version 1.12.0.