diff --git a/src/adql/query/from/ADQLTable.java b/src/adql/query/from/ADQLTable.java index b5be4f6e6374e67dc663df92063974dac4f8f06d..9176ff36df47fce8dde103a931ac5d26c0567352 100644 --- a/src/adql/query/from/ADQLTable.java +++ b/src/adql/query/from/ADQLTable.java @@ -287,13 +287,6 @@ public class ADQLTable implements ADQLObject, FromContent { // Ensure no sub-query is set: if (table != null) subQuery = null; - - // Finally set this table name as default table alias: - /* Note: this aims to avoid ambiguous error messages coming from the - * database when the DB and the ADQL names of a table are - * different. */ - setAlias(this.table); - setCaseSensitive(IdentifierField.ALIAS, isCaseSensitive(IdentifierField.TABLE)); } /**