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 expansion outside queries #699

Closed
DavideRossi opened this issue Jun 30, 2023 · 1 comment · Fixed by #941
Closed

Variable expansion outside queries #699

DavideRossi opened this issue Jun 30, 2023 · 1 comment · Fixed by #941
Assignees

Comments

@DavideRossi
Copy link

This is a feature request.

Use case:

foo = 'bar'
%%sql --save {{foo}} --no-execute
SELECT 1
result = %sql SELECT * from {{foo}}
@edublancas
Copy link

thanks for the feedback! I think we've gotten this request before (but can't remember if there's already an open issue), and I think it'd be pretty useful.

@ploomber/ploomber-devs any thoughts? I cannot think of any edge cases/weird scenarios we might encounter, sounds like a reasonable and useful feature

@edublancas edublancas added stash Label used to categorize issues that will be worked on next med complexity labels Jul 5, 2023
@edublancas edublancas removed the stash Label used to categorize issues that will be worked on next label Jan 16, 2024
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 a pull request may close this issue.

3 participants