SSC-EWI-TD0069
ST_DISTANCE results are slightly different from ST_SPHERICALDISTANCE
This EWI is deprecated, please refer to SSC-FDM-TD0031 documentation
Severity
Low
Description
The Teradata function ST_SPHERICALDISTANCE calculates the distance between two spherical coordinates on the planet using the Haversine formula, on the other side, the Snowflake ST_DISTANCE function does not utilize the haversine formula to calculate the minimum distance between two geographical points.
Example Code
Input Code:
Output Code
Recommendations
If you need more support, you can email us at snowconvert-support@snowflake.com
Last updated