sql-metadata icon indicating copy to clipboard operation
sql-metadata copied to clipboard

Parser crashes if column alias is the same as alias of the subquery

Open dariak1981 opened this issue 3 years ago • 0 comments

Hi,

There is no way to use parser if aliases of columns and subqueries are somewhere in common, for example:

select a.id as a_id, b.name as b_name from table_a as a left join (select * from table_b) as b_name on bla bla..

Thank you. Your parser could be really helpful one day

dariak1981 avatar Apr 09 '22 20:04 dariak1981