Skip to content

Commit

Permalink
Use display module when generating CTE
Browse files Browse the repository at this point in the history
  • Loading branch information
tl3119 committed Jun 28, 2023
1 parent b202771 commit 138d108
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* [Fix] Fixed CI issue by updating `invalid_connection_string_duckdb` in `test_magic.py` (#631)
* [Fix] Refactored `ResultSet` to lazy loading (#470)
* [Fix] Removed `WITH` when a snippet does not have a dependency (#657)
* [Fix] Used display module when generrating CTE ([#649](https://github.com/ploomber/jupysql/issues/649))

## 0.7.9 (2023-06-19)

Expand Down
2 changes: 1 addition & 1 deletion src/sql/magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ def interactive_execute_wrapper(**kwargs):
with_ = self._store.infer_dependencies(command.sql_original, args.save)
if with_:
command.set_sql_with(with_)
print(f"Generating CTE with stored snippets : {', '.join(with_)}")
display.message("Generating CTE using display.py module")
else:
with_ = None

Expand Down

0 comments on commit 138d108

Please sign in to comment.