-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.severity/majorsig/executionSIG executionSIG executiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
in master:
$ select cast(3.40282e37 as char);
+--------------------------+
| cast(3.40282e37 as char) |
+--------------------------+
| 3.40282e37 |
+--------------------------+
in 8.0.0
$ select cast(3.40282e37 as char);
+----------------------------------------+
| cast(3.40282e37 as char) |
+----------------------------------------+
| 34028200000000000000000000000000000000 |
+----------------------------------------+
2. What did you expect to see? (Required)
the result should be same
3. What did you see instead (Required)
result is changed
4. What is your TiDB version? (Required)
Git Commit Hash: 4fe70da
Metadata
Metadata
Assignees
Labels
affects-8.1This bug affects the 8.1.x(LTS) versions.This bug affects the 8.1.x(LTS) versions.severity/majorsig/executionSIG executionSIG executiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.