pyflink.table.types.DataTypes.ARRAY#
- static DataTypes.ARRAY(element_type: pyflink.table.types.DataType, nullable: bool = True) pyflink.table.types.ArrayType [source]#
Data type of an array of elements with same subtype.
Compared to the SQL standard, the maximum cardinality of an array cannot be specified but is fixed at 2147483647(0x7fffffff). Also, any valid type is supported as a subtype.
- Parameters
element_type –
DataType
of each element in the array.nullable – boolean, whether the type can be null (None) or not.