You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Namit Jain (JIRA)" <ji...@apache.org> on 2009/03/31 23:26:50 UTC

[jira] Commented: (HIVE-381) [JDBC component] HiveResultSet next() always returned true due to bad string comparison

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