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

snowflake.snowpark.types.StructField

class snowflake.snowpark.types.StructField(column_identifier: ColumnIdentifier | str, datatype: DataType, nullable: bool = True)[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/types.py#L234-L264)

Bases: object

Represents the content of StructField.

Attributes

name

Returns the column name.

Language: English