Search before asking
Version
1.0.0-rc03
What's Wrong?

What You Expected?
result one row
How to Reproduce?
CREATETABLE `left_table`
(
`id`textNULL COMMENT "",
`device_id`textNULL COMMENT ""
) ENGINE = OLAP UNIQUE KEY(`id`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`id`) BUCKETS 4
PROPERTIES (
"replication_allocation"="tag.location.default: 2",
"in_memory"="false",
"storage_format"="V2"
);
insert into left_table values ('1', '1'),('2', '2'), ('3', '3'), ('4', '4');
CREATETABLE `right_table`
(
`device_id`textNULL COMMENT "",
`device_name`textNULL COMMENT ""
) ENGINE = OLAP UNIQUE KEY(`device_id`)
COMMENT "OLAP"
DISTRIBUTED BY HASH(`device_id`) BUCKETS 4
PROPERTIES (
"replication_allocation"="tag.location.default: 2",
"in_memory"="false",
"storage_format"="V2"
);
insert into right_table values ('1', 'device_name1'), ('3', null);
selectcount(left_table.device_id), rt.device_namefrom left_table
left join right_table rt
onleft_table.device_id=rt.device_idwherert.device_name is nullgroup byrt.device_nameorder byrt.device_name nulls firstAnything Else?
merge #8822 code
Are you willing to submit PR?
Code of Conduct
Search before asking
Version
1.0.0-rc03
What's Wrong?
What You Expected?
result one row
How to Reproduce?
Anything Else?
merge #8822 code
Are you willing to submit PR?
Code of Conduct