ziqian opened a new issue, #24737: URL: https://github.com/apache/doris/issues/24737
### 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 doris 2.0.1 ### What's Wrong? create table sql: -- ------------------------------------------------------------- CREATE TABLE `example_tbl` ( `user_id` largeint(40) NOT NULL COMMENT '用户id', `username` varchar(50) NOT NULL COMMENT '用户昵称', `city` varchar(20) NULL COMMENT '用户所在城市', `age` smallint(6) NULL COMMENT '用户年龄', `sex` tinyint(4) NULL COMMENT '用户性别', `phone` largeint(40) NULL COMMENT '用户电话', `address` varchar(500) NULL COMMENT '用户地址', `register_time` datetime NULL COMMENT '用户注册时间' ) ENGINE=OLAP UNIQUE KEY(`user_id`, `username`) COMMENT 'OLAP' DISTRIBUTED BY HASH(`user_id`) BUCKETS 1 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "storage_format" = "V2", "disable_auto_compaction" = "false", "enable_single_replica_compaction" = "false" ); -- ------------------------------------------------------------- select sql: -- ------------------------------------------------------------- CREATE TABLE `example_tbl` ( `user_id` largeint(40) NOT NULL COMMENT '用户id', `username` varchar(50) NOT NULL COMMENT '用户昵称', `city` varchar(20) NULL COMMENT '用户所在城市', `age` smallint(6) NULL COMMENT '用户年龄', `sex` tinyint(4) NULL COMMENT '用户性别', `phone` largeint(40) NULL COMMENT '用户电话', `address` varchar(500) NULL COMMENT '用户地址', `register_time` datetime NULL COMMENT '用户注册时间' ) ENGINE=OLAP UNIQUE KEY(`user_id`, `username`) COMMENT 'OLAP' DISTRIBUTED BY HASH(`user_id`) BUCKETS 1 PROPERTIES ( "replication_allocation" = "tag.location.default: 1", "storage_format" = "V2", "disable_auto_compaction" = "false", "enable_single_replica_compaction" = "false" ); -- ------------------------------------------------------------- Error: -- ------------------------------------------------------------- errCode = 2, detailMessage = Disjunctions with correlated predicates are not supported: `b`.`user_id` = `a`.`user_id` AND `b`.`username` = 'b' AND `$a$1`.$c$1 OR `$a$2`.$c$2 -- ------------------------------------------------------------- ### What You Expected? I hope you can help investigate, thank you ### 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: [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]
