Return-Path: X-Original-To: apmail-hive-issues-archive@minotaur.apache.org Delivered-To: apmail-hive-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B26C1744C for ; Tue, 26 Jan 2016 11:52:40 +0000 (UTC) Received: (qmail 78284 invoked by uid 500); 26 Jan 2016 11:52:40 -0000 Delivered-To: apmail-hive-issues-archive@hive.apache.org Received: (qmail 78239 invoked by uid 500); 26 Jan 2016 11:52:40 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 78107 invoked by uid 99); 26 Jan 2016 11:52:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 11:52:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DC03B2C1F60 for ; Tue, 26 Jan 2016 11:52:39 +0000 (UTC) Date: Tue, 26 Jan 2016 11:52:39 +0000 (UTC) From: "Alina Abramova (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-12244) Refactoring code for avoiding of comparison of Strings and do comparison on Path 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-12244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alina Abramova updated HIVE-12244: ---------------------------------- Attachment: HIVE-12244.2.patch > Refactoring code for avoiding of comparison of Strings and do comparison on Path > -------------------------------------------------------------------------------- > > Key: HIVE-12244 > URL: https://issues.apache.org/jira/browse/HIVE-12244 > Project: Hive > Issue Type: Improvement > Components: Hive > Affects Versions: 0.13.0, 0.14.0, 1.0.0, 1.2.1 > Reporter: Alina Abramova > Assignee: Alina Abramova > Priority: Minor > Labels: patch > Fix For: 1.2.1 > > Attachments: HIVE-12244.1.patch, HIVE-12244.2.patch > > > In Hive often String is used for representation path and it causes new issues. > We need to compare it with equals() but comparing Strings often is not right in terms comparing paths . > I think if we use Path from org.apache.hadoop.fs we will avoid new problems in future. -- This message was sent by Atlassian JIRA (v6.3.4#6332)