Using source
as a relation alias causes "Ambiguous name" error
#5094
Labels
bug
Invalid compiler output or panic
What happened?
In #5055, I reported a query that generates an "Ambiguous name" error. I was flummoxed.
@lukapeschke found that substituting
Source
in thederive source = "SD"
statements solved the problem - the query compiles and returns good results.NB Changing the second instance (but not the first) to
Source
seems to compile/return results, and changing both tofoo
does, too.Why is using
source
treated specially? Many thanks.PRQL input
SQL output
N/A
Expected SQL output
N/A
MVCE confirmation
Anything else?
No response
The text was updated successfully, but these errors were encountered: