Comments (5)
"message": "***UNEXPECTED ERROR; Received a non pg error.: context canceled"
"query": Error: ***UNEXPECTED ERROR; Failed to
generate a random operation: CollectOne: Query: "\n\t SELECT count(*)\n\t FROM
schema_w12_101.table_w1_181 as t1\n\t\t LEFT JOIN schema_w12_101.table_w1_181 as
t2\n\t\t\t\t ON t1.col181_w1_188 = t2.\"col1!81_w1_192\"\n\t\t\tWHERE
t2.\"col1!81_w1_192\" IS NOT NULL\n" []: ERROR: unsupported comparison operator:
refcursor = refcursor (SQLSTATE 42883)
FROM columns UNION ALL SELECT (((('INDEX ' || quote_ident(schema_name)) || '.') ||
quote_ident(table_name)) || '@') || quote_ident(index-\u003e\u003e'name') FROM indexes
UNION ALL SELECT (((('CONSTRAINT ' || quote_ident(\"constraint\"-\u003e\u003e'name'))
|| ' ON ') || quote_ident(schema_name)) || '.') || quote_ident(table_name) FROM constraints",
"result": [
"SCHEMA public",
"SCHEMA schema_w0_63",
"SCHEMA schema_w7_36",
"SCHEMA schema_w5_45",
"SCHEMA schema_w4_73",
"SCHEMA schema_w3_87",
"SCHEMA schema_w2_60",
"SCHEMA schema_w1_84",
"SCHEMA schema_w1_72",
"SCHEMA schema_w19_88",
"SCHEMA schema_w19_50",
"SCHEMA schema_w17_70",
"SCHEMA schema_w16_58",
"SCHEMA schema_w13_59",
"SCHEMA schema_w10_56"
]
removing release-blocker since this seems like a workload flake
from cockroach.
Nice find, do you know which operation runs that query? It seems like it might be comparing column values. Since the refcursor type is not comparable, do we need to exclude it somehow?
from cockroach.
@rafiss yeah, i think it's coming from rowsSatisfyFkConstraint
:
cockroach/pkg/workload/schemachange/error_screening.go
Lines 1022 to 1028 in e91f700
i had a PR up https://github.com/cockroachdb/cockroach/pull/120712/files, but abandoned it: #119653 (comment) since we are supposed to disallow FKs on refcursors. let me confirm whether or not we actually disallow FKs on refcursors
from cockroach.
sounds good! thanks for digging into this
from cockroach.
yeah i had the wrong assumption:
i glossed over the case where we randomly don't enforce uniqueness on our parent column selection
if uniqueness was always enforced, we would not pick the refcursor type since we do not allow the recursor type to be indexed:
[email protected]:26257/demoapp/movr> CREATE TABLE example_table (
-> id SERIAL PRIMARY KEY,
-> cursor_column REFCURSOR UNIQUE
-> );
ERROR: unimplemented: column cursor_column is of type refcursor and thus is not indexable
SQLSTATE: 0A000
HINT: You have attempted to use a feature that is not yet implemented.
See: https://go.crdb.dev/issue-v/35730/v24.2
that PR def looks relevant now, but a bit wrong -- i think #124887 is all that is needed to fix
from cockroach.
Related Issues (20)
- pkg/sql/logictest/tests/5node/5node_test: TestLogic_distsql_stats failed HOT 1
- roachtest: unoptimized-query-oracle/disable-rules=half/seed-multi-region failed HOT 1
- ccl/backupccl: TestDataDriven_user_defined_functions failed HOT 1
- util/log: TestHTTPSinkContentTypePlainText failed HOT 1
- pkg/compose/compose_test: TestComposeCompare failed HOT 2
- roachtest: disagg-rebalance/aws/n4cpu4 failed HOT 1
- jwtauthccl: add support for jwks url corresponding to issuer urls in auto fetch jwks
- roachtest: disk-stalled/wal-failover/among-stores failed HOT 2
- pkg/sql/logictest/tests/5node/5node_test: TestLogic_distsql_stats failed HOT 1
- roachtest: unoptimized-query-oracle/disable-rules=half/rand-tables failed HOT 2
- sql: support `FETCH { FIRST | NEXT } [ count ] { ROW | ROWS } { ONLY | WITH TIES }` clause
- roachtest: unoptimized-query-oracle/disable-rules=half/seed-multi-region failed HOT 1
- sql: `statement_timeout` not respected for implicit read-write transactions HOT 1
- Document method to ask a running node for its ID HOT 2
- roachtest: follower-reads/survival=region/locality=regional/reads=bounded-staleness failed HOT 3
- doctor: disregard jobs in debug doctor recreate HOT 2
- acceptance: TestCompose failed [port 26257 failed: Connection refused] HOT 10
- util/log: TestHTTPSinkContentTypeJSON failed HOT 1
- acceptance: TestDockerNodeJS failed HOT 3
- ui: searching for custom chart metrics is laggy HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cockroach.