MSCEWI2069
ST_DISTANCE results are slightly different from ST_SPHERICALDISTANCE
This is a deprecated version of the SnowConvert documentation, please visit the official site HERE.
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