Two places where a file reader whose input cannot be opened is not yet an ordinary relation. Both pre-existing, measured identically at 0c0d33b6 and after arc FR.
SELECT * FROM read_json('<missing>') → executing query: source init: read_json: open …: no such file or directory with an EMPTY SQLSTATE. PostgreSQL's nearest class for a relation that does not exist is 42P01 (or 58P01 undefined_file). Pick one, carry it on every door.
EXPLAIN SELECT * FROM read_json('<missing>') prints a plan; EXPLAIN SELECT * FROM missing is 42P01 on 17.11. The plan-time schema resolver declines rather than refuses on an unreachable input.
Acceptance
- A named SQLSTATE for an unopenable reader input on embedded, pgwire, HTTP, gRPC and both coordinator paths; wire-oracle cell.
- EXPLAIN position decided (refuse like PostgreSQL, or documented divergence in ADR-0012).
Two places where a file reader whose input cannot be opened is not yet an ordinary relation. Both pre-existing, measured identically at
0c0d33b6and after arc FR.SELECT * FROM read_json('<missing>')→executing query: source init: read_json: open …: no such file or directorywith an EMPTY SQLSTATE. PostgreSQL's nearest class for a relation that does not exist is 42P01 (or 58P01 undefined_file). Pick one, carry it on every door.EXPLAIN SELECT * FROM read_json('<missing>')prints a plan;EXPLAIN SELECT * FROM missingis 42P01 on 17.11. The plan-time schema resolver declines rather than refuses on an unreachable input.Acceptance