-
Notifications
You must be signed in to change notification settings - Fork 5.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
After cot()
is evaluated, the returned result is incorrect
#56777
Comments
/severity major |
@apollodafoni: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/impact wrong-result |
` 1 row in set 1 row in set ` |
The root cause is
|
I test this in a v6.5.11 tidb cluster started by tiup, the result is empty.
|
can you also check you plan to see if |
|
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
+----------+--------------------+
| col1 | cot(col1) |
+----------+--------------------+
| -2308143 | 0.9135308955291633 |
+----------+--------------------+
3. What did you see instead (Required)
Empty set
It seems that the judgment failed due to precision problems.
Can execution plan be simplified to judge
col=-2308143
:4. What is your TiDB version? (Required)
Release Version: v8.4.0
Edition: Community
Git Commit Hash: 2205f33
Git Branch: HEAD
UTC Build Time: 2024-10-17 07:36:44
GoVersion: go1.23.2
Race Enabled: false
Check Table Before Drop: false
Store: tikv
The text was updated successfully, but these errors were encountered: