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

Variable not being substituted in cell magic with $ or {} #186

Open
cab938 opened this issue Nov 16, 2020 · 1 comment
Open

Variable not being substituted in cell magic with $ or {} #186

cab938 opened this issue Nov 16, 2020 · 1 comment

Comments

@cab938
Copy link

cab938 commented Nov 16, 2020

Sometimes the same query passed to the line magic, %sql, won't work in the cell magic, %%sql, specifically when using a variable substitution with a dollar sign $.

MWE show below using publicly available dataset. Tested with ipython-sql 0.4.0

image

This similarly fails with the {} notation:

image

@duncandewhurst
Copy link

Looks like the same issue I reported in #177

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

No branches or pull requests

2 participants