hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kostiantyn Kudriavtsev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-6006) Add UDF to calculate distance between geographic coordinates
Date Wed, 11 Dec 2013 09:33:07 GMT
Kostiantyn Kudriavtsev created HIVE-6006:
--------------------------------------------

             Summary: 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
            Reporter: Kostiantyn Kudriavtsev
            Priority: Minor


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)

Mime
View raw message