return publishViaSoda2(producer, ddl, PublishMethod.replace, id, file, 0, containsHeaderRow);
}
private static String getDatasetRowId(SodaDdl ddl, String id) throws SodaError, InterruptedException {
Dataset info = (Dataset) ddl.loadDatasetInfo(id);
Column rowIdentifier = info.lookupRowIdentifierColumn();
String rowIdentifierName;
if (rowIdentifier == null) {
rowIdentifierName = ":id";
} else {
rowIdentifierName = rowIdentifier.getFieldName();