Does anyone have any ideas on how to extract all table names from a sxql query?
My use case involves pre-processing the tables before executing the query. I do not see any obvious way to do this, and trying to parse the sxql expression seems like a bit of work to do in a reliable way. Alternatively I could wrap the function with a macro and have the user specify the tables, but it would be nice, since the information is already there, to extract it if possible.
Any ideas?
Does anyone have any ideas on how to extract all table names from a sxql query?
My use case involves pre-processing the tables before executing the query. I do not see any obvious way to do this, and trying to parse the sxql expression seems like a bit of work to do in a reliable way. Alternatively I could wrap the function with a macro and have the user specify the tables, but it would be nice, since the information is already there, to extract it if possible.
Any ideas?