FAQ
Author: khorgath
Date: Wed Apr 24 19:56:31 2013
New Revision: 1471621

URL: http://svn.apache.org/r1471621
Log:
HIVE-4407 : TestHCatStorer.testStoreFuncAllSimpleTypes fails because of null case difference (Thejas Nair via Sushanth Sowmyan)

Modified:
     hive/branches/branch-0.11/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hcatalog/pig/TestHCatStorer.java

Modified: hive/branches/branch-0.11/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hcatalog/pig/TestHCatStorer.java
URL: http://svn.apache.org/viewvc/hive/branches/branch-0.11/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hcatalog/pig/TestHCatStorer.java?rev=1471621&r1=1471620&r2=1471621&view=diff
==============================================================================
--- hive/branches/branch-0.11/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hcatalog/pig/TestHCatStorer.java (original)
+++ hive/branches/branch-0.11/hcatalog/hcatalog-pig-adapter/src/test/java/org/apache/hcatalog/pig/TestHCatStorer.java Wed Apr 24 19:56:31 2013
@@ -429,9 +429,9 @@ public class TestHCatStorer extends HCat
          driver.getResults(res);

          Iterator<String> itr = res.iterator();
- Assert.assertEquals("0\tNULL\tNULL\tNULL\tNULL\tnull\tnull", itr.next());
- Assert.assertEquals("NULL\t4.2\t2.2\t4\tlets hcat\tbinary-data\tnull", itr.next());
- Assert.assertEquals("3\t6.2999997\t3.3000000000000003\t6\tlets hcat\tbinary-data\tnull", itr.next());
+ Assert.assertEquals("0\tNULL\tNULL\tNULL\tNULL\tNULL\tNULL", itr.next());
+ Assert.assertEquals("NULL\t4.2\t2.2\t4\tlets hcat\tbinary-data\tNULL", itr.next());
+ Assert.assertEquals("3\t6.2999997\t3.3000000000000003\t6\tlets hcat\tbinary-data\tNULL", itr.next());
          Assert.assertFalse(itr.hasNext());

          server.registerQuery("B = load 'junit_unparted' using " + HCatLoader.class.getName() + ";");

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommits @
categorieshive, hadoop
postedApr 24, '13 at 7:56p
activeApr 24, '13 at 7:56p
posts1
users1
websitehive.apache.org

1 user in discussion

Khorgath: 1 post

People

Translate

site design / logo © 2021 Grokbase