Open cockroach-teamcity opened 2 months ago
Reduced repro:
CREATE TABLE t (col REGCLASS NULL);
INSERT INTO t VALUES (NULL);
UPDATE t SET col = t.tableoid WHERE true;
SELECT col FROM t;
Postgres returns t
whereas we return the Oid integer (like 104). The bug is present in both execution engines, and I think we're supposed perform Oid resolution for each Oid value when decoding it from disk in order to populate DOid.name
. This would have a significant performance overhead, so let's put it onto the backlog for now. AFAIU this has existed since forever.
roachtest.unoptimized-query-oracle/disable-rules=all/rand-tables failed with artifacts on release-24.1 @ 7c259a1b369b9de45995d76609e41028e5ee0ab4:
Parameters:
ROACHTEST_arch=amd64
ROACHTEST_cloud=gce
ROACHTEST_coverageBuild=false
ROACHTEST_cpu=4
ROACHTEST_encrypted=false
ROACHTEST_metamorphicBuild=false
ROACHTEST_ssd=0
Help
See: roachtest README
See: How To Investigate (internal)
See: Grafana
This test on roachdash | Improve this report!
Jira issue: CRDB-38559