Return-Path: Delivered-To: apmail-hadoop-hive-dev-archive@minotaur.apache.org Received: (qmail 41755 invoked from network); 1 Apr 2009 19:27:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Apr 2009 19:27:34 -0000 Received: (qmail 29704 invoked by uid 500); 1 Apr 2009 19:27:34 -0000 Delivered-To: apmail-hadoop-hive-dev-archive@hadoop.apache.org Received: (qmail 29670 invoked by uid 500); 1 Apr 2009 19:27:34 -0000 Mailing-List: contact hive-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hadoop.apache.org Delivered-To: mailing list hive-dev@hadoop.apache.org Received: (qmail 29660 invoked by uid 99); 1 Apr 2009 19:27:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 19:27:34 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2009 19:27:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1BD8E234C003 for ; Wed, 1 Apr 2009 12:27:13 -0700 (PDT) Message-ID: <1981280533.1238614033109.JavaMail.jira@brutus> Date: Wed, 1 Apr 2009 12:27:13 -0700 (PDT) From: "Kim P. (JIRA)" To: hive-dev@hadoop.apache.org Subject: [jira] Updated: (HIVE-381) [JDBC component] HiveResultSet next() always returned true due to bad string comparison In-Reply-To: <2096525770.1238493590586.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HIVE-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kim P. updated HIVE-381: ------------------------ Attachment: HIVE-381.2.patch Modified TestJdbcDriver.java to also check for no more data rows > [JDBC component] HiveResultSet next() always returned true due to bad string comparison > --------------------------------------------------------------------------------------- > > Key: HIVE-381 > URL: https://issues.apache.org/jira/browse/HIVE-381 > Project: Hadoop Hive > Issue Type: Bug > Affects Versions: 0.2.0, 0.3.0, 0.4.0 > Reporter: Kim P. > Assignee: Kim P. > Attachments: HIVE-381.2.patch, HIVE-381.patch, HiveResultSet.java > > > Method next() is comparing String using "!=" operator resulted in "true" being returned all the time. Can be fix by using String equals() operation to check. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.