You are viewing documentation about an older version (1.16.0). View latest version

snowflake.snowpark.types.StructField

class snowflake.snowpark.types.StructField(column_identifier: Union[ColumnIdentifier, str], datatype: DataType, nullable: bool = True)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/types.py#L342-L372)

Bases: object

Represents the content of StructField.

Attributes

name

Returns the column name.

Language: English