akashrn5 commented on code in PR #4287:
URL: https://github.com/apache/carbondata/pull/4287#discussion_r918566559
##########
core/src/main/java/org/apache/carbondata/core/util/BlockletIndexUtil.java:
##########
@@ -193,7 +154,11 @@ private static BlockMetaInfo createBlockMetaInfo(
CarbonFile carbonFile = FileFactory.getCarbonFile(carbonDataFile);
return new BlockMetaInfo(new String[] { "localhost" },
carbonFile.getSize());
default:
- return
fileNameToMetaInfoMapping.get(FileFactory.getFormattedPath(carbonDataFile));
+ if (!FileFactory.isFileExist(carbonDataFile)) {
Review Comment:
please add comments with example how this will help, also add the
percentage improvement of count(*) for partition and non partition table in the
description
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]