Skip to content

Added subquery logic (Not fully) #7

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

Draft
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

nikhil3303
Copy link

No description provided.

Nikhil Kameshwaran and others added 11 commits August 26, 2024 12:46
Original - "from dataneuron.core.sql_query_filter import SQLQueryFilter" changed to "from sql_query_filter import SQLQueryFilter" for testing purposes but forgot to change it back before commit
…ELECT statements are enclosed in parenthesis
…with the new logic, Added separate python files for detecting and handling subqueries - Detection logic not working for FROM subqueries(Detection logic to be modified) - end_keywords subquery detection and handling removed for now, Removed dead functions
@nikhil3303
Copy link
Author

nikhil3303 commented Sep 24, 2024

  • Proper subquery [in SELECT, FROM, WHERE] detection logic
  • Logic for proper handling of subqueries
  • Add new test cases to test_sql_query_filter.py file
  • Compatibility of new subquery logic with existing CTE logic (added in Subquery fix #6 pr)

@nikhil3303 nikhil3303 marked this pull request as draft September 24, 2024 20:03
…ort errors with importlib, _cleanup_whitespace method is now in a separate module
@nikhil3303
Copy link
Author

nikhil3303 commented Sep 26, 2024

  • Add end_keyword subquery detection and handling
  • Able to handle nested subqueries also

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

Successfully merging this pull request may close these issues.

1 participant