You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Kostiantyn Kudriavtsev (JIRA)" <ji...@apache.org> on 2013/12/11 17:31:11 UTC

[jira] [Updated] (HIVE-6006) Add UDF to calculate distance between geographic coordinates

     [ https://issues.apache.org/jira/browse/HIVE-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kostiantyn Kudriavtsev updated HIVE-6006:
-----------------------------------------

    Affects Version/s: 0.13.0
                 Tags: UDF
        Fix Version/s: 0.13.0

> Add UDF to calculate distance between geographic coordinates
> ------------------------------------------------------------
>
>                 Key: HIVE-6006
>                 URL: https://issues.apache.org/jira/browse/HIVE-6006
>             Project: Hive
>          Issue Type: New Feature
>          Components: UDF
>    Affects Versions: 0.13.0
>            Reporter: Kostiantyn Kudriavtsev
>            Priority: Minor
>             Fix For: 0.13.0
>
>   Original Estimate: 336h
>  Remaining Estimate: 336h
>
> It would be nice to have Hive UDF to calculate distance between two points on Earth. Haversine formula seems to be good enough to overcome this issue
> The next function is proposed:
> HaversineDistance(lat1, lon1, lat2, lon2) - calculate Harvesine Distance between 2 points with coordinates (lat1, lon1) and (lat2, lon2)



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)