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, please add it as LOGGER.error("message", e). Please add a comment also
----------------------------------------------------------------
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