in src/main/java/com/amazonaws/services/glue/catalog/HiveGlueCatalogSyncAgent.java [279:298]
protected String getPartitionSpec(Table table, Partition partition) {
String partitionSpec = "";
for (int i = 0; i < table.getPartitionKeysSize(); ++i) {
FieldSchema p = table.getPartitionKeys().get(i);
String specAppend;
if (quotedTypes.contains(p.getType().toLowerCase())) {
// add quotes to appended value
specAppend = "'" + partition.getValues().get(i) + "'";
} else {
// don't quote the appended value
specAppend = partition.getValues().get(i);
}
partitionSpec += p.getName() + "=" + specAppend + ",";
}
return StringUtils.stripEnd(partitionSpec, ",");
}