| ==== |
| ---- QUERY |
| #################################################### |
| # Regression test for IMPALA-3141: Disabled filters should send dummy filters |
| # to unblock waiters. We limit the size of the filter to a much lower value than required |
| # to achieve the desired FP rate so that it gets rejected/disabled during FP rate check. |
| #################################################### |
| |
| SET RUNTIME_FILTER_WAIT_TIME_MS=600000; |
| SET RUNTIME_FILTER_MODE=GLOBAL; |
| SET RUNTIME_FILTER_MAX_SIZE=64K; |
| with l as (select * from tpch.lineitem UNION ALL select * from tpch.lineitem) |
| select STRAIGHT_JOIN count(*) from (select * from tpch.lineitem a LIMIT 1) a |
| join (select * from l LIMIT 500000) b on a.l_orderkey = -b.l_orderkey; |
| ---- RESULTS |
| 0 |
| ---- RUNTIME_PROFILE |
| row_regex: .*0 of 1 Runtime Filter Published, 1 Disabled.* |
| ==== |