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

snowflake.snowpark.types.StructType

class snowflake.snowpark.types.StructType(fields: List[StructField])[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/types.py#L267-L308)

Bases: DataType

Represents a table schema. Contains StructField for each column.

Attributes

names

Returns the list of names of the StructField

Language: English