uber / queryparser

Parsing and analysis of Vertica, Hive, and Presto SQL.
MIT License
1.08k stars 147 forks source link

Resolving failed with `Tablish` which has column aliases #64

Closed nooberfsh closed 2 years ago

nooberfsh commented 2 years ago

Resolving with t1 as (select * from foo) select * from t1 t2 (z1,z2,z3) failed message:

Tables accessed: public.foo*** Exception: column alias missing from aliasMap: RColumnAlias (ColumnAlias () "z3" (ColumnAliasId 5)), fromList []

This was tested with the Presto parser.