pingcap/tidb

ERROR 1105 (HY000): strconv.Atoi: parsing "35034909085507971833458842": value out of range

Closed this issue · 0 comments

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

CREATE TABLE t1 (c1 INT, c2 TEXT);
INSERT INTO t1 VALUES (1833458842, '0.3503490908550797');
CREATE VIEW v0(c0) AS SELECT 1 FROM t1;

SELECT v0.c0 FROM v0, t1 WHERE  CAST(v0.c0 AS DATE) > CONCAT_WS(t1.c2, t1.c2, t1.c1);

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

The SELECT statement returns an empty set.

3. What did you see instead (Required)

An error happens, that is ERROR 1105 (HY000): strconv.Atoi: parsing "35034909085507971833458842": value out of range.

4. What is your TiDB version? (Required)

Release Version: v6.6.0
Edition: Community
Git Commit Hash: f4ca082
Git Branch: heads/refs/tags/v6.6.0
UTC Build Time: 2023-02-17 14:49:02
GoVersion: go1.19.5
Race Enabled: false
TiKV Min Version: 6.2.0-alpha
Check Table Before Drop: false
Store: tikv