maheshrajus commented on a change in pull request #3639: [CARBONDATA-3724] Secondary Index enable on partition Table URL: https://github.com/apache/carbondata/pull/3639#discussion_r386896310
########## File path: core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java ########## @@ -2779,10 +2797,18 @@ public static String getBlockId(AbsoluteTableIdentifier identifier, String fileP } else { partitionDir = ""; } - // Replace / with # on partition director to support multi level partitioning. And access - // them all as a single entity. - blockId = partitionDir.replace("/", "#") + CarbonCommonConstants.FILE_SEPARATOR - + segmentId + CarbonCommonConstants.FILE_SEPARATOR + blockName; + if (isPartitionTable) { + blockId = + partitionDir.replace("/", "#") Review comment: fixed ---------------------------------------------------------------- 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