carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kushalsaha <...@git.apache.org>
Subject [GitHub] carbondata pull request #1739: [CARBONDATA-1834] when running insert overwri...
Date Fri, 29 Dec 2017 09:13:05 GMT
Github user kushalsaha commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1739#discussion_r159039052
  
    --- Diff: integration/spark2/src/main/java/org/apache/carbondata/spark/vectorreader/VectorizedCarbonRecordReader.java
---
    @@ -121,12 +126,24 @@ public VectorizedCarbonRecordReader(QueryModel queryModel, InputMetricsStats
inp
           while (ext != null) {
             if (ext instanceof FileNotFoundException) {
               throw new InterruptedException(
    -              e.getMessage() + ". insert overwrite may be in progress.Please check");
    +              "Insert overwrite may be in progress.Please check " + e.getMessage());
             }
             ext = ext.getCause();
           }
           throw new InterruptedException(e.getMessage());
         }
    +    catch (Exception e) {
    --- End diff --
    
    this catch block is for handling any checked exception if its thrown in the form of Runtime
exception . In this case FileNotFoundException is thrown by casting as Runtime exception.


---

Mime
View raw message