[GitHub] [carbondata] akashrn5 commented on a change in pull request #3506: Prepriming fixes

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

[GitHub] [carbondata] akashrn5 commented on a change in pull request #3506: Prepriming fixes

GitBox
akashrn5 commented on a change in pull request #3506: Prepriming fixes
URL: https://github.com/apache/carbondata/pull/3506#discussion_r356414873
 
 

 ##########
 File path: core/src/main/java/org/apache/carbondata/core/datamap/DataMapUtil.java
 ##########
 @@ -116,7 +116,12 @@ private static void executeClearDataMapJob(DataMapJob dataMapJob,
     DistributableDataMapFormat dataMapFormat =
         new DistributableDataMapFormat(carbonTable, validAndInvalidSegmentsInfo.getValidSegments(),
             invalidSegment, true, dataMapToClear);
-    dataMapJob.execute(dataMapFormat);
+    try {
+      dataMapJob.execute(dataMapFormat);
+    } catch (Exception e) {
+      e.printStackTrace();
 
 Review comment:
   do not print stacktrace

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