You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by kumarvishal09 <gi...@git.apache.org> on 2018/05/10 17:19:36 UTC

[GitHub] carbondata pull request #2273: [CARBONDATA-2442] and [CARBONDATA-2469] Fixed...

Github user kumarvishal09 commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/2273#discussion_r187397546
  
    --- Diff: core/src/main/java/org/apache/carbondata/core/readcommitter/LatestFilesReadCommittedScope.java ---
    @@ -122,6 +122,11 @@ private String getSegmentID(String carbonIndexFileName, String indexFilePath) {
       @Override public void takeCarbonIndexFileSnapShot() throws IOException {
         // Read the current file Path get the list of indexes from the path.
         CarbonFile file = FileFactory.getCarbonFile(carbonFilePath);
    +    if (file == null) {
    +      // For nonTransactional table, files can be removed at any point of time.
    +      // So cannot assume files will be present
    +      throw new IOException("No files are present in the table location");
    --- End diff --
    
    append File path in exception message 


---