[ 
https://issues.apache.org/jira/browse/SPARK-34409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17292930#comment-17292930
 ] 

Sean R. Owen commented on SPARK-34409:
--------------------------------------

I don't think codegen helps here? that won't optimize the contents of a UDF. I 
agree geo types are useful, but that's something different.

> 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]

Reply via email to