abstractdog commented on PR #6317:
URL: https://github.com/apache/hive/pull/6317#issuecomment-3945244408

   > @abstractdog I checked the implementation of `getTableName()` and it 
returns `properties.getProperty(META_TABLE_NAME)`. I also verified this by 
debugging locally with a cross-database join query:
   > 
   > ```sql
   > select * from db1.test_cross t1 join db2.test_cross t2 using(a);
   > ```
   > 
   > I evaluated `tableDesc.getTableName()` in the debugger for each entry in 
`aliasToPartnInfo` and got `db1.test_cross` and `db2.test_cross` as two 
distinct fully qualified strings. So tables with the same name from different 
databases are handled correctly.
   
   sounds good, thanks a lot @hemanthumashankar0511! approved PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to