dataroaring opened a new issue, #19516:
URL: https://github.com/apache/doris/issues/19516

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Description
   
   mysql
   `//
   mysql> create table t1 (a char(100), b varchar(100), c text, d blob);   
Query OK, 0 rows affected (0.02 sec)                                            
                                                                mysql> insert 
into t1 values(                                               ->   
18446744073709551615,18446744073709551615,                         ->   
18446744073709551615, 18446744073709551615                         -> );        
                                                       Query OK, 1 row affected 
(0.03 sec)  `
   
   doris
   `create table t1 (a char(100), b varchar(100), c STRING, d STRING) DUPLICATE 
KEY(a) DISTRIBUTED BY HASH(a) BUCKETS 1 PROPERTIES("replication_num" = "1"); 
mysql> insert into t1 values(                                               ->  
 18446744073709551615,18446744073709551615,                         ->   
18446744073709551615, 18446744073709551615                         -> );        
                                                       ERROR 1105 (HY000): 
errCode = 2, detailMessage = can not cast from origin type LARGEINT to target 
type=CHAR(100)
   
   mysql> insert into t1 values( -> cast(18446744073709551615 as 
char(100)),18446744073709551615, -> 18446744073709551615, 18446744073709551615 
-> ); Query OK, 1 row affected (0.09 sec) 
{'label':'insert_e497e6a69d924e96_9210994de2a584da', 'status':'VISIBLE', 
'txnId':'3657'}`
   
   ### Solution
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to