Darshan Jani created SPARK-34410:
------------------------------------
Summary: Vincenty distance spark function
Key: SPARK-34410
URL: https://issues.apache.org/jira/browse/SPARK-34410
Project: Spark
Issue Type: New Feature
Components: SQL
Affects Versions: 3.1.2
Reporter: Darshan Jani
Add new spark function to compute the distance between two geo-points using
vincenty distance formula
Vincenty uses the oblate spheroid whereas haversine uses unit sphere, this will
give roughly
22m better accuracy (in worst case) than haversine
https://en.wikipedia.org/wiki/Vincenty%27s_formulae
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]