You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/10/20 06:38:06 UTC

[GitHub] [doris] luozenglin opened a new issue, #13509: [Bug] be core dump when using right join with other join predicates.

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

   ### 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?
   
   be core dump when using right join with other join predicates.
   
   ### What You Expected?
   
   as expected
   
   ### How to Reproduce?
   
   ```
   CREATE TABLE `test` (
     `k1` tinyint(4) NULL,
     `k2` smallint(6) NULL,
     `k3` int(11) NULL,
     `k4` bigint(20) NULL,
     `k5` decimal(9, 3) NULL,
     `k6` char(5) NULL,
     `k10` date NULL,
     `k11` datetime NULL,
     `k7` varchar(20) NULL,
     `k8` double MAX NULL,
     `k9` float SUM NULL
   ) ENGINE=OLAP
   AGGREGATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`, `k6`, `k10`, `k11`, `k7`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`k1`) BUCKETS 5
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2",
   "disable_auto_compaction" = "false"
   );
   
   CREATE TABLE `baseall` (
     `k1` tinyint(4) NULL,
     `k2` smallint(6) NULL,
     `k3` int(11) NULL,
     `k4` bigint(20) NULL,
     `k5` decimal(9, 3) NULL,
     `k6` char(5) NULL,
     `k10` date NULL,
     `k11` datetime NULL,
     `k7` varchar(20) NULL,
     `k8` double MAX NULL,
     `k9` float SUM NULL
   ) ENGINE=OLAP
   AGGREGATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`, `k6`, `k10`, `k11`, `k7`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`k1`) BUCKETS 5
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "in_memory" = "false",
   "storage_format" = "V2",
   "disable_auto_compaction" = "false"
   );
   
   insert into test(k1) values(1);
   insert into baseall(k1) values(2);
   
   select a.k1, b.k1, c.k1 from test a left join test b on a.k1 = b.k1 right join baseall c on b.k1 = c.k1 and 2=4;
   ```
   
   ### 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: commits-unsubscribe@doris.apache.org.apache.org

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


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


[GitHub] [doris] Gabriel39 closed issue #13509: [Bug] be core dump when using right join with other join predicates.

Posted by GitBox <gi...@apache.org>.
Gabriel39 closed issue #13509: [Bug] be core dump when using right join with other join predicates.
URL: https://github.com/apache/doris/issues/13509


-- 
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-unsubscribe@doris.apache.org

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


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