Hey there,

I'm new to the Calcite framework and I'm trying to separate table names and
aliases as well as  store their mapping from SQL parsing.


When 'AS' is in play (like in Select * from table1 AS t1, table2 AS t2,
table3), I'm good to go using SqlKind.AS in SqlCall with its two operands
to spot table names and aliases.


But, in a query like Select * from table1 t1, table2 t2, table3 where the
keyword 'AS' isn't used, I'm a bit lost in figuring out the table names and
aliases. Any tips on handling this? Thanks a bunch!

-David

Reply via email to