caiconghui opened a new issue #7288:
URL: https://github.com/apache/incubator-doris/issues/7288


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   master
   
   ### What's Wrong?
   
   outer join sql would make some slot nullable when slot is selected from 
nullable tuple in outer join sql even the origin slot is not nullable. but now 
our design forget to check it. 
   
   ### What You Expected?
   
   be not core
   
   ### How to Reproduce?
   
    CREATE TABLE `left_table` (
     `k1` int(11) NULL COMMENT "",
     `no` varchar(50) NOT NULL COMMENT ""
   ) ENGINE=OLAP
   DUPLICATE KEY(`k1`)
   COMMENT "OLAP"
   DISTRIBUTED BY HASH(`k1`) BUCKETS 2
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2"
   );
   
   CREATE TABLE `right_table` (
     `k1` int(11) NULL COMMENT "",
     `no` varchar(50) NOT NULL COMMENT ""
   ) ENGINE=OLAP
   DUPLICATE KEY(`k1`)
   COMMENT "OLAP"
   DISTRIBUTED BY HASH(`k1`) BUCKETS 2
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2"
   ) ;
   insert into left_table values(1, "test");
   select l.k1, group_concat(r.no) from left_table l left join right_table r on 
l.k1=r.k1 group by l.k1; 
   
   
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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