ajantha-bhat commented on a change in pull request #3836:
URL: https://github.com/apache/carbondata/pull/3836#discussion_r453612663



##########
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:
       ok. 
   I think this is happening with newly added FS scheme. 
   Because without scheme these test cases were passing.  May be we would have 
checked scheme adding method. 




----------------------------------------------------------------
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