when using 'WITH', errors me relation 'WITH NAME' does not exist#3543
Unanswered
PorcoRosso85 asked this question in Q&A
Replies: 1 comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I just bumped into the same thing. I was able to reproduce the error in a simpler example: with hello as ( select1as t ) select*from hello wherehello.t=1;^ This is fine, but nest it into a FROM clause: select*from ( with hello as ( select1as t ) select*from hello wherehello.t=1 ) j;It's a silly query but reproduces the issue. Both queries execute fine against my Postgres instance. There may be some shenanigans to make sqlc happy with it, but unclear what 🤔 |
BetaWas this translation helpful?Give feedback.
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If anyone also encount same question and tells me it, I'm so glad.
db/query.sql:102:1: relation "closure" does not existBetaWas this translation helpful?Give feedback.
All reactions