[GitHub] [carbondata] xubo245 opened a new pull request #3194: [CARBONDATA-3363] SDK supports read carbon data by given file lists, file or folder

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] [carbondata] xubo245 opened a new pull request #3194: [CARBONDATA-3363] SDK supports read carbon data by given file lists, file or folder

GitBox
xubo245 opened a new pull request #3194: [CARBONDATA-3363] SDK supports read carbon data by given file lists, file or folder
URL: https://github.com/apache/carbondata/pull/3194
 
 
   SDK supports read carbon data by given file lists, file or folder
   ```
      CarbonReader reader = CarbonReader
           .builder()
           .withFileLists(fileLists.subList(0,2))
           .projection(projectionLists)
           .build();
   
   ```
   or withFile:
   ```
       CarbonReader reader2 = CarbonReader
           .builder()
           .withFile(fileName)
           .build();
   ```
   
   withFolder
   ```
    CarbonReader reader = CarbonReader
           .builder()
           .withFolder(path)
           .build();
   
   ```
   Be sure to do all of the following checklist to help us incorporate
   your contribution quickly and easily:
   
    - [ ] Any interfaces changed?
    No
    - [ ] Any backward compatibility impacted?
    No
    - [ ] Document update required?
   No
    - [ ] Testing done
   add test case
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
   No
   

----------------------------------------------------------------
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:
[hidden email]


With regards,
Apache Git Services