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
explain select /*+ tidb_hj(orders) */
o_orderpriority,
count(*) as order_count
from
orders use index()
where
o_orderdate >= '1995-01-01'
and o_orderdate < date_add('1995-01-01', interval '3' month)
and exists (
select
*
from
lineitem use index()
where
l_orderkey = o_orderkey
and l_commitdate < l_receiptdate
)
group by
o_orderpriority
order by
o_orderpriority
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Trigger spill in hash join.
2. What did you expect to see? (Required)
correct statistic
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
nightly(9b70321)
The text was updated successfully, but these errors were encountered: