SQL Error [XX000]: ERROR: invalid attnum -2 for rangetable entry s
Open
bug
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
I created new distributed table :
create table t1 ( id uuid primary key, tname text);
select create_distributed_table('public.t1','id')
The error message "SQL Error [XX000]: ERROR: invalid attnum -2 for rangetable entry s" when query below query
SELECT s.xmin
FROM t1 AS s
WHERE (true = false);
SELECT s.xmin
FROM t1 AS s
WHERE (1 = 0);
Contributor guide
Assessment
This issue has not been assessed yet.