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

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   
   CREATE TABLE `tbl1` (
   `k1` int(11) NULL,
   `k2` int(11) NULL
   ) ENGINE=OLAP
   DUPLICATE KEY(`k1`, `k2`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`k1`) BUCKETS 1
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "storage_format" = "V2",
   "light_schema_change" = "true",
   "disable_auto_compaction" = "false"
   );
   
   insert into tbl1 values("acb" , 2);
   data in tbl1 is  0,2
   
   However,
   
   CREATE TABLE `tbl4` (
   `k1` varchar(3) NULL
   ) ENGINE=OLAP
   DUPLICATE KEY(`k1`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`k1`) BUCKETS 1
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "storage_format" = "V2",
   "light_schema_change" = "true",
   "disable_auto_compaction" = "false"
   );
   
   insert into tbl4 values("abc");
   
   insert into tbl1 select k1, k1 from tbl4;
   
   data in tbl1 is null.
   
   ### What's Wrong?
   
   insert into values does not work as insert into select.
   
   ### What You Expected?
   
   they work as same.
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _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: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to