sql: query works in Postgres but not CockroachDB #59154
Labels
A-sql-name-resolution
SQL name resolution rules and CTEs.
A-sql-syntax
Issues strictly related to the SQL grammar, with no semantic aspect
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
This was found during Hack the North, a hacker found that the following setup/query would work on PG13 but not CRDB.
Setup
Query
The query succeeds in PG but gives
ERROR: no data source matches prefix: p in this context
in CRDBThe text was updated successfully, but these errors were encountered: