You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@kaijianding Execute the following statement and see what the execution plan is:
explain SELECT
count(distinct spu_id)
FROM
t1 a
inner JOIN (
SELECT date('2024-08-08') as dim_date1
) d
where a.pt = d.dim_date1
AND a.pt >= '2023-12-16'
Steps to reproduce the behavior (Required)
pt
is partition key, type isdate
spu_id
type isbigint
Correct reuslt is: 5651249
Expected behavior (Required)
the result in consistent
Real behavior (Required)
Result is incorrect with join
StarRocks version (Required)
select current_version()
3.3
The text was updated successfully, but these errors were encountered: