[
https://issues.apache.org/jira/browse/SPARK-34409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17285601#comment-17285601
]
Darshan Jani commented on SPARK-34409:
--------------------------------------
Suggestion to add in spark is to support optimised function with codegen which
will help community. This looks more common function used widely. Vectorized
udf will definitely help for python. In a longer run, as lot of databases like
Postgres adding Geo datatypes and functions, may be spark can also think about
having Geo datatypes and related functions.
> haversine distance spark function
> ---------------------------------
>
> Key: SPARK-34409
> URL: https://issues.apache.org/jira/browse/SPARK-34409
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Darshan Jani
> Priority: Major
>
> Add new Haversine Function:
> Compute the great-circle distance between two points on a sphere given their
> longitudes and latitudes.
> [https://en.wikipedia.org/wiki/Haversine_formula]
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]