Github user narahari92 commented on the pull request: https://github.com/apache/metamodel/pull/20#issuecomment-98795407 Hi, the reason for removing alias for onSelectItem(side Alias) is let's say we have a query like below: Query query = context.parse("Select a.col2 from A a INNER JOIN B b ON a.col1 = b.col2 INNER JOIN C c ON a.col3 = c.col3"); If we parse it by replacing sideAlias of select Item then it gets translated as below: "SELECT a.col2 from A a INNER JOIN B b on a.col1 = b.col2 INNER JOIN C c ON b.col3 = c.col3" which is wrong and results in SQLException
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---