Amazon Redshift will no longer support the creation of new Python UDFs starting Patch 198.
Existing Python UDFs will continue to function until June 30, 2026. 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.