Ctrl+K
Logo image Logo image

Site Navigation

  • API Reference
  • Examples

Site Navigation

  • API Reference
  • Examples

Section Navigation

  • PyFlink Table
    • TableEnvironment
    • Table
    • Data Types
    • Window
    • Expressions
    • User Defined Functions
    • Descriptors
    • StatementSet
    • Catalog
  • PyFlink DataStream
  • PyFlink Common

pyflink.table.types.DataTypes.DECIMAL#

static DataTypes.DECIMAL(precision: int, scale: int, nullable: bool = True) → pyflink.table.types.DecimalType[source]#

Data type of a decimal number with fixed precision and scale.

Parameters
  • precision – the number of digits in a number. It must have a value between 1 and 38 (both inclusive).

  • scale – the number of digits on right side of dot. It must have a value between 0 and precision (both inclusive).

  • nullable – boolean, whether the type can be null (None) or not.

Note

The precision must be 38 and the scale must be 18 currently.

previous

pyflink.table.types.DataTypes.BYTES

next

pyflink.table.types.DataTypes.TINYINT

Show Source

Created using Sphinx 4.5.0.