akashrn5 commented on a change in pull request #3440: [CARBONDATA-3574] Block IUD for Add Segment and Delete segment by id issue fix URL: https://github.com/apache/carbondata/pull/3440#discussion_r346195171
########## File path: integration/spark2/src/main/scala/org/apache/spark/sql/execution/strategy/MixedFormatHandler.scala ########## @@ -91,11 +91,12 @@ object MixedFormatHandler { supportBatch: Boolean = true): Option[(RDD[InternalRow], Boolean)] = { val loadMetadataDetails = readCommittedScope.getSegmentList val segsToAccess = getSegmentsToAccess(identier) - val rdds = loadMetadataDetails.filterNot(l => - l.getFileFormat.equals(FileFormatName.COLUMNAR_V3) || - l.getFileFormat.equals(FileFormatName.ROW_V1) && - (!(l.getSegmentStatus.equals(SegmentStatus.SUCCESS) && - l.getSegmentStatus.equals(SegmentStatus.LOAD_PARTIAL_SUCCESS)))) + val rdds = loadMetadataDetails.filter(p => Review comment: rename p to metadaDetail ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services