Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 41A6617A57 for ; Wed, 18 Feb 2015 08:44:12 +0000 (UTC) Received: (qmail 85372 invoked by uid 500); 18 Feb 2015 08:44:11 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 85300 invoked by uid 500); 18 Feb 2015 08:44:11 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 85289 invoked by uid 500); 18 Feb 2015 08:44:11 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 85286 invoked by uid 99); 18 Feb 2015 08:44:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2015 08:44:11 +0000 Date: Wed, 18 Feb 2015 08:44:11 +0000 (UTC) From: "Hive QA (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-9556) create UDF to calculate the Levenshtein distance between two strings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-9556?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14325= 588#comment-14325588 ]=20 Hive QA commented on HIVE-9556: ------------------------------- {color:green}Overall{color}: +1 all checks pass Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12699433/HIVE-9556.3.patch {color:green}SUCCESS:{color} +1 7560 tests passed Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job= /PreCommit-HIVE-TRUNK-Build/2819/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/j= ob/PreCommit-HIVE-TRUNK-Build/2819/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit= -HIVE-TRUNK-Build-2819/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase {noformat} This message is automatically generated. ATTACHMENT ID: 12699433 - PreCommit-HIVE-TRUNK-Build > create UDF to calculate the Levenshtein distance between two strings > -------------------------------------------------------------------- > > Key: HIVE-9556 > URL: https://issues.apache.org/jira/browse/HIVE-9556 > Project: Hive > Issue Type: Improvement > Components: UDF > Reporter: Alexander Pivovarov > Assignee: Alexander Pivovarov > Attachments: HIVE-9556.1.patch, HIVE-9556.2.patch, HIVE-9556.3.pa= tch > > > Levenshtein distance is a string metric for measuring the difference betw= een two sequences. Informally, the Levenshtein distance between two words i= s the minimum number of single-character edits (i.e. insertions, deletions = or substitutions) required to change one word into the other. It is named a= fter Vladimir Levenshtein, who considered this distance in 1965. > Example: > The Levenshtein distance between "kitten" and "sitting" is 3 > 1. kitten =E2=86=92 sitten (substitution of "s" for "k") > 2. sitten =E2=86=92 sittin (substitution of "i" for "e") > 3. sittin =E2=86=92 sitting (insertion of "g" at the end). > {code} > select levenshtein('kitten', 'sitting'); > 3 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)