Skip to main content
Ctrl+K
PyFlink 1.20+vvr.11.7.dev0 documentation - Home PyFlink 1.20+vvr.11.7.dev0 documentation - Home
  • API Reference
  • Examples
  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink DataFrame
  • PyFlink Common
  • API Reference
  • PyFlink Table
  • Data Types
  • pyflink.table.types.DataTypes.YEAR

pyflink.table.types.DataTypes.YEAR#

static DataTypes.YEAR(precision: int = 2) → 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()

previous

pyflink.table.types.DataTypes.MONTH

next

pyflink.table.types.DataTypes.INTERVAL

On this page
  • DataTypes.YEAR()

This Page

  • Show Source

Created using Sphinx 7.4.7.

Built with the PyData Sphinx Theme 0.16.1.