Skip to content

Commit

Permalink
added issue numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
neelasha23 committed May 31, 2023
1 parent 48b43ea commit 20e2420
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/sql/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ def interactive_execute_wrapper(**kwargs):
err = exceptions.UsageError(detailed_msg)
raise err
# TODO: move to error_messages.py
# Added here due to circular dependency issue
# Added here due to circular dependency issue (#545)
elif "no such table" in str(e):
tables = query_util.extract_tables_from_query(command.sql)
for table in tables:
Expand Down
2 changes: 1 addition & 1 deletion src/sql/magic_cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def error(self, message):
raise exceptions.UsageError(message)


# Added here due to circular dependencies
# Added here due to circular dependencies (#545)
from sql.sqlcmd import sqlcmd_snippets # noqa


Expand Down
3 changes: 2 additions & 1 deletion src/sql/query_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ def extract_tables_from_query(query):
# TODO : Instead of returning [] replace with call to
# error_messages.py::parse_sqlglot_error. Currently this
# is not possible because of an exception raised in test
# fixtures.
# fixtures. (#546). This function can also be moved to util.py
# after #545 is resolved.
return []

0 comments on commit 20e2420

Please sign in to comment.