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:
DataTypeRepresents a table schema. Contains
StructFieldfor each column.Attributes
namesReturns the list of names of the
StructField