- Notifications
You must be signed in to change notification settings - Fork5
Commit3f5d2fe
committed
Be more wary of missing statistics in eqjoinsel_semi().
In particular, if we don't have real ndistinct estimates for both sides,fall back to assuming that half of the left-hand rows have join partners.This is what was done in 8.2 and 8.3 (cf nulltestsel() in those versions).It's pretty stupid but it won't lead us to think that an antijoin producesno rows out, as seen in recent example from Uwe Schroeder.1 parent921b993 commit3f5d2fe
1 file changed
+32
-17
lines changedLines changed: 32 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2342 | 2342 |
| |
2343 | 2343 |
| |
2344 | 2344 |
| |
2345 |
| - | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
2346 | 2348 |
| |
2347 | 2349 |
| |
2348 | 2350 |
| |
| |||
2396 | 2398 |
| |
2397 | 2399 |
| |
2398 | 2400 |
| |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
2399 | 2406 |
| |
2400 |
| - | |
2401 |
| - | |
2402 |
| - | |
2403 |
| - | |
2404 |
| - | |
| 2407 | + | |
2405 | 2408 |
| |
2406 |
| - | |
2407 |
| - | |
2408 |
| - | |
2409 |
| - | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
2410 | 2415 |
| |
| 2416 | + | |
| 2417 | + | |
| 2418 | + | |
| 2419 | + | |
| 2420 | + | |
2411 | 2421 |
| |
2412 | 2422 |
| |
2413 | 2423 |
| |
| |||
2417 | 2427 |
| |
2418 | 2428 |
| |
2419 | 2429 |
| |
2420 |
| - | |
2421 |
| - | |
2422 |
| - | |
2423 |
| - | |
| 2430 | + | |
| 2431 | + | |
| 2432 | + | |
| 2433 | + | |
| 2434 | + | |
| 2435 | + | |
2424 | 2436 |
| |
2425 |
| - | |
2426 |
| - | |
| 2437 | + | |
| 2438 | + | |
| 2439 | + | |
| 2440 | + | |
| 2441 | + | |
2427 | 2442 |
| |
2428 |
| - | |
| 2443 | + | |
2429 | 2444 |
| |
2430 | 2445 |
| |
2431 | 2446 |
| |
|
0 commit comments
Comments
(0)