hive-protolib/src/main/java/com/streamsets/pipeline/stage/lib/hive/HiveMetastoreUtil.java
public static String generatePartitionPath(LinkedHashMap<String, String> partitions) {
    StringBuilder builder = new StringBuilder();
    for(Map.Entry<String, String> pair:  partitions.entrySet()) {
      builder.append(String.format(PARTITION_PATH, pair.getKey(), pair.getValue()));
    }
    return builder.toString();
  }
public static String generatePartitionPath(LinkedHashMap<String, String> partitions) {
    StringBuilder builder = new StringBuilder();
    for(Map.Entry<String, String> pair:  partitions.entrySet()) {
      builder.append(String.format(PARTITION_PATH, pair.getKey(), pair.getValue()));
    }
    return builder.toString();
  }
public static String generatePartitionPath ( LinkedHashMap < String , String > partitions ) { StringBuilder builder = new StringBuilder ( ) ; for ( Map . Entry < String , String > pair : partitions . entrySet ( ) ) { builder . append ( String . format ( PARTITION_PATH , pair . getKey ( ) , pair . getValue ( ) ) ) ; } return builder . toString ( ) ; }
Build a partition path for the external table.
@param partitions A list of key-value pair to build a partition path
@return String that represents partition path
Build a partition path for the external table .