// Always add replicated column placeholder
// Simple Optimization: Put the replication placeholder as the last
// attribute in the
// list if the table is not read-only
if (!no_replication) {
ReplicatedColumn replicated_col = ReplicatedColumn.get(catalog_tbl);
if (info.stats.getTableStatistics(table_key).readonly && !force_replication_last) {
sorted.add(0, replicated_col);
} else {
sorted.add(replicated_col);
}