hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-6006) Add UDF to calculate distance between geographic coordinates
Date Wed, 18 Dec 2013 22:57:07 GMT

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

Hive QA commented on HIVE-6006:
-------------------------------



{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12619415/hive-6006.patch

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 4796 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_show_functions
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_udf_haversinedistance
{noformat}

Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/691/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/691/console

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12619415

> 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
>
>         Attachments: hive-6006.patch
>
>   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)

Mime
View raw message