Amazon Redshift will no longer support the creation of new Python UDFs starting November 1, 2025.
If you would like to use Python UDFs, create the UDFs prior to that date.
Existing Python UDFs will continue to function as normal. For more information, see the
blog post
Spatial functions
Relationships between geometry objects are based on the Dimensionally Extended
nine-Intersection Model (DE-9IM). This model defines predicates such as equals, contains, and
covers. For more information about the definition of spatial relationships, see DE-9IM
For more information about how to use spatial data with Amazon Redshift, see Querying spatial data in Amazon Redshift.
Amazon Redshift provides spatial functions that work with GEOMETRY
and GEOGRAPHY
data types.
The following lists the functions that support the GEOGRAPHY
data type:
The following lists the full set of spatial functions supported by Amazon Redshift.