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 F058F17682 for ; Wed, 18 Feb 2015 05:40:27 +0000 (UTC) Received: (qmail 48938 invoked by uid 500); 18 Feb 2015 05:40:11 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 48865 invoked by uid 500); 18 Feb 2015 05:40: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 48854 invoked by uid 500); 18 Feb 2015 05:40:11 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 48851 invoked by uid 99); 18 Feb 2015 05:40: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 05:40:11 +0000 Date: Wed, 18 Feb 2015 05:40:11 +0000 (UTC) From: "Alexander Pivovarov (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (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: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-9556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Pivovarov updated HIVE-9556: -------------------------------------- Summary: create UDF to calculate the Levenshtein distance between two strings (was: create UDF to measure strings similarity using Levenshtein Distance algo) > 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 > > > algorithm description http://en.wikipedia.org/wiki/Levenshtein_distance > {code} > --one edit operation, greatest str len = 12 > str_sim_levenshtein('Test String1', 'Test String2') = 1 - 1 / 12 = 0.91666667 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)