You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/10/23 05:45:21 UTC

[GitHub] [carbondata] kunal642 commented on a change in pull request #3416: [HOTFIX][TESTCASE] Testcase fix for replacing lambda function for Java-1.7

kunal642 commented on a change in pull request #3416: [HOTFIX][TESTCASE] Testcase fix for replacing lambda function for Java-1.7
URL: https://github.com/apache/carbondata/pull/3416#discussion_r337858252
 
 

 ##########
 File path: tools/cli/src/test/java/org/apache/carbondata/tool/CarbonCliTest.java
 ##########
 @@ -275,9 +277,14 @@ public void testSummaryAllColumns() {
   @Test
   public void testSummaryAllColumnsForOneFile() {
     CarbonFile folder = FileFactory.getCarbonFile(path);
-    CarbonFile[] carbonFiles =
-        folder.listFiles(file -> file.getName().endsWith(CarbonTablePath.CARBON_DATA_EXT));
-    String[] args = { "-cmd", "summary", "-p", carbonFiles[0].getCanonicalPath(), "-C" };
+    CarbonFile[] allFiles = folder.listFiles();
 
 Review comment:
   use File filters to get only data files...No need to filter

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services