snowflake.snowpark.functions.st_symdifference¶
- snowflake.snowpark.functions.st_symdifference(geography_expression_1: Union[snowflake.snowpark.column.Column, str], geography_expression_2: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns the symmetric difference of two GEOGRAPHY objects. The symmetric difference consists of all points that are in either geography but not in both.
- Parameters:
geography_expression_1 (ColumnOrName) – A GEOGRAPHY object or a string representation of a geography.
geography_expression_2 (ColumnOrName) – A GEOGRAPHY object or a string representation of a geography.
- Returns:
A GEOGRAPHY object representing the symmetric difference of the two input geographies.
- Return type:
- Examples::