pyflink.table.types.DataTypes.YEAR#
- static DataTypes.YEAR(precision: int = 2) pyflink.table.types.Resolution [source]#
Resolution in years with 2 digits for the number of years by default.
- Parameters
precision – the number of digits of years. It must have a value between 1 and 4 (both inclusive), (default 2).
- Returns
the specified
Resolution
.
See also
INTERVAL()