-
Notifications
You must be signed in to change notification settings - Fork 44
Extracting tables and columns from an sql file #475
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
base: main
Are you sure you want to change the base?
Extracting tables and columns from an sql file #475
Conversation
worksofliam
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Needs test cases
- Need a formatter run on the file after these changes
…etColumnsAndTable function
|
Hi @worksofliam I have added the testcases for the function and its working as expected, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- All files need formatting
- What is the purpose of this? This seems very similar to
getObjectReferences?
|
Also, this needs a lot more tests. At least 10 because of the volatility of this logic. |
This feature enables extraction of both table names and column names from SQL queries.