snowflake.snowpark.types.MapType¶
- class snowflake.snowpark.types.MapType(key_type: Optional[DataType] = None, value_type: Optional[DataType] = None, structured: bool = False)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.16.0/src/snowflake/snowpark/types.py#L233-L250)¶
Bases:
DataType
Map data type. This maps to the OBJECT data type in Snowflake if key and value types are not defined otherwise MAP.
Methods
is_primitive
()