kunal642 commented on a change in pull request #3836:
URL: https://github.com/apache/carbondata/pull/3836#discussion_r453596871



##########
File path: 
core/src/main/java/org/apache/carbondata/core/datastore/impl/FileFactory.java
##########
@@ -620,8 +620,9 @@ public static boolean checkIfPrefixExists(String path) {
     }
 
     final String lowerPath = path.toLowerCase(Locale.getDefault());
-    return lowerPath.contains("://") || 
lowerPath.startsWith(CarbonCommonConstants.HDFSURL_PREFIX)
-        || lowerPath.startsWith(CarbonCommonConstants.VIEWFSURL_PREFIX) || 
lowerPath
+    return lowerPath.contains(":/") || lowerPath.contains("://") || lowerPath

Review comment:
       @ajantha-bhat On local while running test cases the path starts with 
file:/ instead of file://, that is why i have added this back.




----------------------------------------------------------------
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:
[email protected]


Reply via email to