core/src/main/java/org/apache/carbondata/core/util/path/CarbonTablePath.java
/**
   * Return true if the fileNameWithPath ends with partition map file extension name
   */
Return true if the fileNameWithPath ends with partition map file extension name
Return true if the fileNameWithPath ends with partition map file extension name
public static boolean isPartitionMapFile(String fileNameWithPath) {
    int pos = fileNameWithPath.lastIndexOf('.');
    if (pos != -1) {
      return fileNameWithPath.substring(pos).startsWith(PARTITION_MAP_EXT);
    }
    return false;
  }
public static boolean isPartitionMapFile ( String fileNameWithPath ) { int pos = fileNameWithPath . lastIndexOf ( '.' ) ; if ( pos != - 1 ) { return fileNameWithPath . substring ( pos ) . startsWith ( PARTITION_MAP_EXT ) ; } return false ; }
Return true if the fileNameWithPath ends with partition map file extension name
Return true if the fileNameWithPath ends with partition map file extension name