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

refactor: remove show_sql in favor of print(to_sql) #7486

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

cpcloud
Copy link
Member

@cpcloud cpcloud commented Nov 3, 2023

Now that we syntax highlight the result of to_sql in IPython and Jupyter, we can decrease API surface a bit by removing show_sql in favor of print(to_sql(...)) for folks that are not using IPython or Jupyter.

@cpcloud cpcloud added this to the 8.0 milestone Nov 3, 2023
@cpcloud cpcloud added the refactor Issues or PRs related to refactoring the codebase label Nov 5, 2023
@cpcloud cpcloud force-pushed the 8.x.x branch 4 times, most recently from 2f8bc62 to af8b6a3 Compare November 16, 2023 21:05
@cpcloud cpcloud added the breaking change Changes that introduce an API break at any level label Nov 18, 2023
@cpcloud cpcloud force-pushed the remove-show-sql branch 2 times, most recently from 6c9ca87 to 6670dbc Compare November 18, 2023 11:19
BREAKING CHANGE: replace `ibis.show_sql(expr)` calls with `print(ibis.to_sql(expr))` or if using Jupyter or IPython `ibis.to_sql(expr)`
@cpcloud cpcloud merged commit de6943e into ibis-project:8.x.x Nov 18, 2023
108 checks passed
@cpcloud cpcloud deleted the remove-show-sql branch November 18, 2023 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change Changes that introduce an API break at any level refactor Issues or PRs related to refactoring the codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants