Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

radians function with <> operator returns incorrect result #57661

Closed
apollodafoni opened this issue Nov 25, 2024 · 4 comments · Fixed by #57672
Closed

radians function with <> operator returns incorrect result #57661

apollodafoni opened this issue Nov 25, 2024 · 4 comments · Fixed by #57672
Assignees
Labels
affects-8.5 This bug affects the 8.5.x(LTS) versions. component/executor fuzz/comp Issues found by comp fuzz test. impact/wrong-result severity/major type/bug The issue is confirmed as a bug. type/regression

Comments

@apollodafoni
Copy link

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table lrr_test(`COL1` int);
insert into lrr_test values(23);
select col1, radians(col1) from lrr_test where radians(col1) <> radians(23);

2. What did you expect to see? (Required)

Empty set

v8.4.0 can return correctly, this is a regression

3. What did you see instead (Required)

+------+---------------------+
| col1 | radians(col1) |
+------+---------------------+
| 23 | 0.40142572795869574 |
+------+---------------------+

4. What is your TiDB version? (Required)

Release Version: v8.5.0-alpha-201-g6e22b8cb13
Edition: Community
Git Commit Hash: 6e22b8c
Git Branch: HEAD
UTC Build Time: 2024-11-22 09:09:32
GoVersion: go1.23.3
Race Enabled: false
Check Table Before Drop: false
Store: tikv

@apollodafoni apollodafoni added the type/bug The issue is confirmed as a bug. label Nov 25, 2024
@apollodafoni
Copy link
Author

/label affects-8.5
/severity major
/impact wrong-result
/type regression

@apollodafoni apollodafoni changed the title radians function with <> operator returns incorrect value radians function with <> operator returns incorrect result Nov 25, 2024
@gengliqi
Copy link
Contributor

/remove-label may-affects-5.4
/remove-label may-affects-6.1
/remove-label may-affects-6.5
/remove-label may-affects-7.1
/remove-label may-affects-7.5
/remove-label may-affects-8.1

@apollodafoni
Copy link
Author

/assign @gengliqi

@apollodafoni
Copy link
Author

/label fuzz/comp

@ti-chi-bot ti-chi-bot bot added the fuzz/comp Issues found by comp fuzz test. label Nov 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
affects-8.5 This bug affects the 8.5.x(LTS) versions. component/executor fuzz/comp Issues found by comp fuzz test. impact/wrong-result severity/major type/bug The issue is confirmed as a bug. type/regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants