tidb icon indicating copy to clipboard operation
tidb copied to clipboard

[FATAL] [lib.rs:478] ["Rem resulted in NaN: FloatIsNan"]

Open sayJason opened this issue 1 year ago • 0 comments

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

CREATE TABLE t1 (c1 DOUBLE);
INSERT INTO t1 (c1) VALUES (1.0E307);
SELECT c1 FROM t1 WHERE DEGREES(c1) MOD c1;

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

The server should not crash down.

3. What did you see instead (Required)

A fata error is returned.

4. What is your TiDB version? (Required)

Release Version: v8.3.0 Edition: Community Git Commit Hash: 1a0c3ac3292fff7742faa0c00a662ccb66ba40db Git Branch: HEAD UTC Build Time: 2024-08-20 10:13:01 GoVersion: go1.21.10 Race Enabled: false Check Table Before Drop: false Store: tikv

sayJason avatar Oct 15 '24 02:10 sayJason