Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequestUtils getTableNames does not return multiple table names for sql join queries #14555

Closed
AlexanderKM opened this issue Nov 27, 2024 · 1 comment
Labels

Comments

@AlexanderKM
Copy link
Contributor

For a query like

SELECT 
  table1.foo,
  table2.bar 
FROM 
  table1 
JOIN table2 ON table1.id = table2.id 
LIMIT 10;

the method RequestUtils#getTablesNames will only return the table1 as table names from the query.

For context of usage, we use this method to track metrics on the tables we are querying, so it is quite useful to us.

@yashmayya
Copy link
Collaborator

Fixed in #14554

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants