Github user gvramana commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2177#discussion_r182969475
--- Diff:
integration/spark-common/src/main/scala/org/apache/carbondata/spark/rdd/NewCarbonDataLoadRDD.scala
---
@@ -425,9 +427,11 @@ class NewDataFrameLoaderRDD[K, V](
TableProcessingOperations.deleteLocalDataLoadFolderLocation(model,
false, false)
// in case of failure the same operation will be re-tried several
times.
// So print the data load statistics only in case of non failure
case
- if (SegmentStatus.LOAD_FAILURE !=
loadMetadataDetails.getSegmentStatus) {
- CarbonTimeStatisticsFactory.getLoadStatisticsInstance
- .printStatisticsInfo(CarbonTablePath.DEPRECATED_PATITION_ID)
+ if (!carbonLoadModel.isCarbonNonTransactionalTable) {
--- End diff --
this check should not be present, logic should be same for transactional
and non-transactional tables;
---