Hi Commnunity, In real scenarios, many developers want to get what tables a query statement contains.
such as 'WITH t as (SELECT * FROM t1) SELECT * FROM t, t2', it only contains table t1 and t2. I tried to visit the SqlNode and found this solution is very complicated and has very many checks, otherwise easy to get in parser. such as add one line 'involvedTables.add(nameList);' in 'CompoundTableIdentifier' production rule. I know that this isn't the duty of parser, but I think it's the easiest way to get the tables, I want to add this functionality to parser, how do you think?
