ColumnNamesImpl table = schemaTable(nameInSchemaIc);
if (derivedColumnList != null) {
table = table.renameColumns(derivedColumnList);
}
colNamesWr[0] = table;
String nameInSchemaCaseSensitive = table.nameInSchema();
Term formula;
if (instantiatedTables.contains(nameInSchemaIc)) {
formula = Relation.refTableFormula(nameInSchemaCaseSensitive);
} else {
formula = Relation.relTableFormula(nameInSchemaCaseSensitive, table.size());