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 06:07:26 UTC

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

lamber-ken 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_r337863307
 
 

 ##########
 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
   
   Hi, @kunal642, the folder also contains `*.carbonindex` files.

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