snowflake.snowpark.types.StructTypeΒΆ
- class snowflake.snowpark.types.StructType(fields: Optional[List[StructField]] = None)[source]ΒΆ
Bases:
DataType
Represents a table schema. Contains
StructField
for each column.Methods
add
(field[, datatype, nullable])Attributes
names
Returns the list of names of the
StructField