You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is no table with name 'mysnippet'.
Did you mean: 'mysnippet'
But that should not apapear because the actual reason is that the function not_a_function doesn't exist.
%%sql
select not_a_function(body_mass_g) from mysnippet
Generating CTE with stored snippets: 'mysnippet'
Running query in 'duckdb://'
TableNotFoundError: If using snippets, you may pass the --with argument explicitly.
For more details please refer: https://jupysql.ploomber.io/en/latest/compose.html#with-argument
There is no table with name 'mysnippet'.
Did you mean: 'mysnippet'
Original error message from DB driver:
(duckdb.CatalogException) Catalog Error: Scalar Function with name not_a_function does not exist!
Did you mean "tan"?
LINE 3: se...
^
[SQL: WITH mysnippet AS (
select * from penguins)
select not_a_function(body_mass_g) from mysnippet]
(Background on this error at: https://sqlalche.me/e/20/f405)
If you need help solving this issue, send us a message: https://ploomber.io/community
The text was updated successfully, but these errors were encountered:
When running a SQL query that depends on a snippet and there's an error, the error message is misleading
Notebook:
Connecting to 'duckdb://'
Running query in 'duckdb://'
Running query in 'duckdb://'
This will complain with:
But that should not apapear because the actual reason is that the function
not_a_function
doesn't exist.Generating CTE with stored snippets: 'mysnippet'
Running query in 'duckdb://'
The text was updated successfully, but these errors were encountered: