snowflake.snowpark.functions.st_difference¶
- snowflake.snowpark.functions.st_difference(geography_expression_1: Union[snowflake.snowpark.column.Column, str], geography_expression_2: Union[snowflake.snowpark.column.Column, str]) Column[source]¶
Returns the difference between two GEOGRAPHY objects. The result is a GEOGRAPHY object that represents the portion of the first geography that does not intersect with the second geography.
- Parameters:
geography_expression_1 (ColumnOrName) – GEOGRAPHY objects or a geography expression representing the first geography
geography_expression_2 (ColumnOrName) – GEOGRAPHY objects or a geography expression representing the second geography
- Returns:
GEOGRAPHY objects representing the difference between the two input geographies
- Return type:
- Examples::