[GitHub] [carbondata] ShreelekhyaG commented on a change in pull request #4080: [CARBONDATA-4111] Filter query having invalid results after add segment to table having SI with Indexserver
Posted by
GitBox on
Feb 01, 2021; 3:19pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/GitHub-carbondata-ShreelekhyaG-opened-a-new-pull-request-4080-WIP-Filter-query-having-invalid-resultr-tp105647p105880.html
ShreelekhyaG commented on a change in pull request #4080:
URL:
https://github.com/apache/carbondata/pull/4080#discussion_r567904349##########
File path: core/src/main/java/org/apache/carbondata/core/indexstore/ExtendedBlocklet.java
##########
@@ -221,7 +221,7 @@ public void deserializeFields(DataInput in, String[] locations, String tablePath
indexUniqueId = in.readUTF();
}
String filePath = getPath();
- if (filePath.startsWith(File.separator)) {
+ if (!FileFactory.isFileExist(filePath)) {
Review comment:
As discussed, using FileExists only for local file path.
----------------------------------------------------------------
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]