You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/08/21 06:45:28 UTC

[GitHub] [incubator-doris] thimoonxy opened a new issue #1682: Failed to insert decimal data

thimoonxy opened a new issue #1682: Failed to insert decimal data
URL: https://github.com/apache/incubator-doris/issues/1682
 
 
   version:  Doris-0.10.18
   
   ```
   mysql> desc t2;
   +-------+--------------+------+-------+---------+-------+
   | Field | Type         | Null | Key   | Default | Extra |
   +-------+--------------+------+-------+---------+-------+
   | k1    | INT          | No   | true  | N/A     |       |
   | k2    | DATE         | No   | true  | N/A     |       |
   | v1    | DECIMAL(4,3) | No   | false | N/A     | NONE  |
   +-------+--------------+------+-------+---------+-------+
   3 rows in set (0.00 sec)
   
   mysql> insert into t2 values(1, "2019-08-21", 3.3);
   Query OK, 0 rows affected (0.32 sec)
   
   mysql> insert into t2 values(1, "2019-08-21", 1234.321);
   ERROR 1064 (HY000): all partitions have no load data
   mysql> insert into t2 values(1, "2019-08-21", 12.3);
   ERROR 1064 (HY000): all partitions have no load data
   mysql> insert into t2 values(1, "2019-08-21", 1.3);
   Query OK, 0 rows affected (0.30 sec)
   ```
   
   > No matter as key or value, decimal field couldn't be inserted properly.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org