carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sounakr <...@git.apache.org>
Subject [GitHub] incubator-carbondata pull request #492: [CARBONDATA-440] Providing the updat...
Date Fri, 06 Jan 2017 11:10:55 GMT
Github user sounakr commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/492#discussion_r94931905
  
    --- Diff: hadoop/src/test/java/org/apache/carbondata/hadoop/ft/CarbonInputMapperTest.java
---
    @@ -57,58 +57,58 @@
       }
     
       @Test public void testInputFormatMapperReadAllRowsAndColumns() throws Exception {
    -    try {
    -      String outPath = "target/output";
    -      CarbonProjection carbonProjection = new CarbonProjection();
    -      carbonProjection.addColumn("ID");
    -      carbonProjection.addColumn("date");
    -      carbonProjection.addColumn("country");
    -      carbonProjection.addColumn("name");
    -      carbonProjection.addColumn("phonetype");
    -      carbonProjection.addColumn("serialname");
    -      carbonProjection.addColumn("salary");
    -      runJob(outPath, carbonProjection, null);
    -      Assert.assertEquals("Count lines are not matching", 1000, countTheLines(outPath));
    -      Assert.assertEquals("Column count are not matching", 7, countTheColumns(outPath));
    -    } catch (Exception e) {
    -      Assert.assertTrue("failed", false);
    -      e.printStackTrace();
    -      throw e;
    -    }
    +//    try {
    --- End diff --
    
    Done. Rectified the test case.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message