|
Mamta A. Satoor made changes - 31/Mar/05 01:44 AM
Satheesh Bandaram made changes - 05/May/05 06:44 AM
Daniel John Debrunner made changes - 13/May/05 12:57 AM
Mamta A. Satoor made changes - 05/Jun/05 01:17 AM
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
I (Mamta) have a new patch for this bug which also fixes the problem you
brought up with sql select * from a.t as X. The fix for this required
change in impl.sql.compile.FromBaseTable's method genResultColList().
I changed the code such that we set the TableDescriptor on the
ColumnDescriptor instance. This TableDescriptor is later used by
ResultColumn.getTableName to get the base table name of the column. In
addition to that, I changed ColumnReference.getSourceTableName and
ColumnReference.getSourceSchemaName so that they don't look at the
user supplied correlation name (if any) to fetch the base table/schema
name.