hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HIVE-381) [JDBC component] HiveResultSet next() always returned true due to bad string comparison
Date Tue, 31 Mar 2009 21:26:50 GMT

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

Namit Jain commented on HIVE-381:
---------------------------------

Can you upload a patch instead of the file:

svn diff > <patchname>

and then upload the <patchname> and submit patch.

Also, can you add a test for this case ?

> [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.
>         Attachments: 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.


Mime
View raw message