carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ravipesala <...@git.apache.org>
Subject [GitHub] carbondata pull request #1588: [CARBONDATA-1834] when running insert overwri...
Date Thu, 30 Nov 2017 08:12:25 GMT
Github user ravipesala commented on a diff in the pull request:

    https://github.com/apache/carbondata/pull/1588#discussion_r154007357
  
    --- Diff: integration/spark2/src/main/java/org/apache/carbondata/spark/vectorreader/VectorizedCarbonRecordReader.java
---
    @@ -116,6 +117,14 @@ public VectorizedCarbonRecordReader(QueryModel queryModel, InputMetricsStats
inp
           queryExecutor = QueryExecutorFactory.getQueryExecutor(queryModel);
           iterator = (AbstractDetailQueryResultIterator) queryExecutor.execute(queryModel);
         } catch (QueryExecutionException e) {
    +      Throwable ext = e;
    +      while (ext != null) {
    +        if (ext instanceof FileNotFoundException) {
    +          throw new InterruptedException(
    --- End diff --
    
    better pass the exception along with message to the constructor


---

Mime
View raw message