Hi Gaurav,

You may find this useful:
https://lists.apache.org/thread.html/rc38d12de860f64e8e2926b7bcf6f2e9e6bcbfbc7ca5e886a71323b47%40%3Cdev.calcite.apache.org%3E

On 2020/06/04 01:41:41, Gaurav Sehgal <gaurav.sehgal8...@gmail.com> wrote: 
> Hi,
> 
> I've a use case where i want to find all the columns, and their respective
> tables accessed in a sql query. I'm able to find all the table names by
> converting the sql query to RelNode and then visiting the TableScan node
> but not sure what would be the right approach to find all the column names.
> 
> Can someone help me with this?
> 
> 
> Thanks
> Gaurav Sehgal
> 

Reply via email to