-
-
Notifications
You must be signed in to change notification settings - Fork 141
bug: Incremental data causing instance crash. #1805
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
Comments
Row format error, can not dealing with unexpected row format properly. The query statment is listed here,
Enn, Maybe, Pay more attention to |
Because the value of the data type decimal is more than 18. mysql> show create table xxx\G
*************************** 1. row ***************************
Table: xxx
Create Table: CREATE TABLE `xxx` (
`id` int(11) DEFAULT NULL,
`c1` decimal(18,6) DEFAULT NULL
) ENGINE=TIANMU DEFAULT CHARSET=utf8mb4
1 row in set (0.00 sec)
mysql> insert into xxx values(1,100000000000.00000);
Query OK, 1 row affected (0.00 sec)
mysql> select * from xxx;
+------+---------------------+
| id | c1 |
+------+---------------------+
| 1 | 100000000000.000000 |
+------+---------------------+
1 row in set (0.00 sec)
mysql> load data infile '/tmp/xxx.csv' into table xxx FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';
ERROR 1264 (22003): Out of range value for column 'c1' at row 4
# more /tmp/xxx.csv
1,100000000000.000000
2,100000000001.000000
2,100000000001.000000
3,10000000000000.000000
3,10000000000000.000000
4,10000000000001.000000
4,10000000000001.000000 |
In The exception message:
and the code:
|
After decimal type supported fully,
and the data type of output params,
|
@haitaoguan , pls use the latest version to verify it again, thx. |
Have you read the Contributing Guidelines on issues?
Please confirm if bug report does NOT exists already ?
Describe the problem
Expected behavior
No response
How To Reproduce
No response
Environment
No response
Are you interested in submitting a PR to solve the problem?
The text was updated successfully, but these errors were encountered: