-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
roachtest.unoptimized-query-oracle/disable-rules=half failed due to extra precision decimals #86790
Comments
Hi @rytaft, please add a C-ategory label to your issue. Check out the label system docs. While you're here, please consider adding an A- label to help keep our repository tidy. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
This failure looks like the same issue: #86308 (comment) |
Hey @cucaroach can you please look into this failure? Seems to me like we have one version returning a number with much higher precision than the other. Doesn't look like a correctness issue, but we should figure out what's going on and fix it to prevent the test from continuing to fail for this reason. |
#85318 also looks the same as this one |
I found a reproduction here |
Great, closing this as a duplicate. |
Reopening this one to specifically track the decimal precision issue. |
Interestingly it repros with vectorize = off too.
|
I think this issue is super fundamental:
vs.
|
Related: #41448 |
So my current take is we have two bugs:
I think we could consider #2 for 23.1 (ie if we're gonna constant fold integer division the result should be a decimal so we're internally consistent but that would come at the cost of more visible disagreement with PG and potentially turn the heat up on #41448). Probably we should let sleeping dogs lie at wait for #41448. Anyways all this is to say that I'm only gonna look for an expedient roachtest specific fix for this and ignore the larger issues. |
Here's a similar problem from #87495 that happens when using
|
Another reproduction here: #87605 (comment) |
…ests The division (`/`) and floor division (`//`) operators were making costfuzz and unoptimized-query-oracle tests flaky. This commit disables generation of these operators as a temporary mitigation for these flakes. Informs cockroachdb#86790 Release note: None
87645: ui: fix txn insight query bug, align summary card, remove contended keys in details page r=ericharmeling a=ericharmeling This commit fixes a small bug on the transaction insight details page that was incorrectly mapping the waiting transaction statement fingerprints to the blocking transaction statements. The commit also aligns the summary cards in the details page. The commit also removes the contended key from the details page while we look for a more user- friendly format to display row contention. Before: ![image](https://user-images.githubusercontent.com/27286675/189216476-8211d598-5d4e-4255-846f-82c785764016.png) After: ![image](https://user-images.githubusercontent.com/27286675/189216006-f01edeb6-ab2f-42ac-9978-6fce85b9a79a.png) Fixes #87838. Release note: None Release justification: bug fix 87715: roachtest: add 4s of sleep after restart when upgrading nodes r=yuzefovich a=yuzefovich We have seen cases where a transient error could occur when a newly-upgraded node serves as a gateway for a distributed query due to remote nodes not being able to dial back to the gateway for some reason (investigation of it is tracked in #87634). For now, we're papering over these flakes by 4 second sleep. Addresses: #87104. Release note: None 87840: roachtest: do not generate division ops in costfuzz and unoptimized tests r=mgartner a=mgartner The division (`/`) and floor division (`//`) operators were making costfuzz and unoptimized-query-oracle tests flaky. This commit disables generation of these operators as a temporary mitigation for these flakes. Informs #86790 Release note: None 87854: kvcoord: reliably handle stuck watcher error r=erikgrinaker a=tbg Front-ports parts of #87253. When a rangefeed gets stuck, and the server is local, the server might notice the cancellation before the client, and may send a cancellation error back in a rangefeed event. We now handle this the same as the other case (where the stream client errors out due to the cancellation). This also checks in the test from #87253 (which is on release-22.1). Fixes #87370. No release note since this will be backported to release-22.2 Release note: None Co-authored-by: Eric Harmeling <eric.harmeling@cockroachlabs.com> Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com> Co-authored-by: Marcus Gartner <marcus@cockroachlabs.com> Co-authored-by: Tobias Grieger <tobias.b.grieger@gmail.com>
…ests The division (`/`) and floor division (`//`) operators were making costfuzz and unoptimized-query-oracle tests flaky. This commit disables generation of these operators as a temporary mitigation for these flakes. Informs #86790 Release note: None
87652: kv: Handle invalid lease transfer checks r=andrewbaptist a=andrewbaptist Previously it would be a programming error when checking if the leaseholder move was valid if the leaseholder wasn't one of the replicas. This check was overly strict. Release note: None 88379: pgwire: add encoding for JSON arguments r=ZhouXing19 a=rafiss fixes #88355 This adds pgwire decoding support for JSON (oid=114). This does not add oid=114 to the OidToType map in types.go since that introduces many other assumptions about the type; namely that the type can be used as the type of a column descriptor. That change would mean that existing tables that were defined with JSON would be inconsistent with new tables defined with a JSON column. Release note (sql change): The pgwire protocol implementation can now accept arguments of the JSON type (oid=114). Previously, it could only accept JSONB (oid=3802). Internally, JSON and JSONB values are still identical, so this change only affects how the values are received over the wire protocol. 88485: xform: make FoldDivOne an essential normalization r=msirek a=msirek Fixes #86790 This fixes sqlsmith errors caused by differences in the number of displayed digits right of the decimal place for `expression / 1` by making the folding of this expression essential. Release note: None 88528: scripts/bench: update benchstat install instructions r=tbg a=michae2 As far as I can tell, we're not relying on the JSON output in github.com/cockroachdb/benchstat so change the instructions here to install the original benchstat instead of the fork. Release note: None Co-authored-by: Andrew Baptist <baptist@cockroachlabs.com> Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com> Co-authored-by: Mark Sirek <sirek@cockroachlabs.com> Co-authored-by: Michael Erickson <michae2@cockroachlabs.com>
Fixes cockroachdb#86790 This fixes sqlsmith errors caused by differences in the number of displayed digits right of the decimal place for `expression / 1` by making the folding of this expression essential. Release note: None
roachtest.unoptimized-query-oracle/disable-rules=half failed with artifacts on master @ 80c274877a917580af62be6eb0cd48c8c7ae9c08:
Parameters:
ROACHTEST_cloud=gce
,ROACHTEST_cpu=4
,ROACHTEST_ssd=0
Help
See: roachtest README
See: How To Investigate (internal)
This test on roachdash | Improve this report!
Originally posted by @cockroach-teamcity in #86308 (comment)
Jira issue: CRDB-18936
The text was updated successfully, but these errors were encountered: