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.

语言: 中文