-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sql/tests: TestRandomSyntaxGeneration failed [unhandled kind: 0] #133913
Comments
sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 688e82e8d015350fe3aa263484416d28b232a25d: Random syntax error:
Query:
Same failure on other branches
|
sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 8f5366d09e6cf2144ca43f9cdda7e1128a13fbf8: Random syntax error:
Query:
Same failure on other branches
|
133840: apiutil, roachpb: create utilities to map descriptors to ranges r=angles-n-daemons a=angles-n-daemons apiutil, roachpb: create utilities to map descriptors to ranges Previously each range correlated to a single table, or even a single index in a database, so all that was required to identify which tables, indexes were in the range were to look at the start key of the range and map it accordingly. With range coalescing however, it's possible for one, or many tables, indexes and the like to reside within the same range. To properly identify the contents of a range, this PR adds the following utilities: 1. A utility function which turns a range into a span, and clamps it to its tenant's table space. 2. A utility function which takes the above spans and uses the catalog and new descriptor by span utility to turn those spans into a set of table descriptors ordered by id. 3. A utility function which transforms those table descriptors into a set of (database, table, index) names which deduplicate and identify each index uniquely. 4. A utility function, which merges the ranges and indexes into a map keyed by RangeID whose values are the above index names. 5. A primary entrypoint for consumers from which a set of ranges can be passed in and a mapping from those ranges to indexes can be returned. A variety of caveats come with this approach. It attempts to scan the desrciptors all at once, but it still will scan a sizable portion of the descriptors table if the request is large enough. This makes no attempt to describe system information which does not have a descriptor. It will describe system tables which appear in the descriptors table, but it will not try to explain "tables" which do not have descriptors (example tsdb), or any other information stored in the keyspace without a descriptor (PseudoTableIDs, GossipKeys for example). Throughout this work, many existing utilities were duplicated, and then un-duplicated (`keys.TableDataMin`, `roachpb.Span.Overlap`, etc). If you see anything that seems to already exist, feel free to point it out accordingly. Epic: CRDB-43151 Fixes: #130997 Release note: None 134748: storage: propagate KeySchemas to debug tools r=RaduBerinde a=jbowens Ensure the `cockroach debug pebble ...` debug CLI tools can understand sstables with columnar blocks by propagating the CockroachDB KeySchema to the tool. Epic: none Release note: none 134770: sql/tests: include error with full stack trace in RSG tests r=rafiss a=rafiss informs #133913 informs #134280 informs #133510 informs #134752 Release note: None Co-authored-by: Brian Dillmann <[email protected]> Co-authored-by: Jackson Owens <[email protected]> Co-authored-by: Rafi Shamim <[email protected]>
sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ 1759878c80e15663634321a45efdcb52490b3e46:
Same failure on other branches
|
Based on the specified backports for linked PR #135149, I applied the following new label(s) to this issue: branch-release-23.2, branch-release-24.1, branch-release-24.2, branch-release-24.3. Please adjust the labels as needed to match the branches actually affected by this issue, including adding any known older branches. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
sql/tests.TestRandomSyntaxGeneration failed with artifacts on master @ becbd0fcdfa2e37a6ff23b33af70f2f91eca0790:
Random syntax error:
Query:
Help
See also: How To Investigate a Go Test Failure (internal)
Same failure on other branches
This test on roachdash | Improve this report!
Jira issue: CRDB-43820
The text was updated successfully, but these errors were encountered: