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

In native DuckDB setup, %sql queries don't resolve dataframes to tables (run in VS Code) #1041

Closed
cstork opened this issue Nov 8, 2024 · 1 comment

Comments

@cstork
Copy link

cstork commented Nov 8, 2024

See below to reproduce:

# %%
%load_ext sql
import duckdb

# Native Setup with autopandas
db = duckdb.connect()
%sql db
%config SqlMagic.autopandas = True

df = %sql select 1

# %%
db.sql('from df') # works fine

# %%
%sql from df

Relevant part of the error message for last cell:

Original error message from DB driver:
Catalog Error: Table with name df does not exist!
@edublancas
Copy link

this has been fixed in the latest release #1033

@edublancas edublancas closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 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

No branches or pull requests

2 participants