Repository navigation
Commit 83ca07a
committed
test: run Spark's SPARK-35332 AQE cache test with Comet again
The diffs skipped CachedTableSuite's 'SPARK-35332: Make cache plan
disable configs configurable - check AQE' on Spark 4.0 and later,
because SparkPlanInfo drew the cached plan only below Spark's own
InMemoryTableScanExec. Since #6577 it is drawn below
CometInMemoryTableScanExec too, so the test finds the cached plan.
The test's check that the cached plan was coalesced, which the diffs
already adapt, looked for AQEShuffleRead only below a columnar-to-row
transition, where it is when Comet's plan is cached in Spark's format.
In Comet's columnar format the cached plan ends in the read itself, as
in Spark, so the check accepts it there too. The test passes on Spark
4.0, 4.1 and 4.2 with either format, and with Comet off.1 parent 52c8df5 commit 83ca07a
3 files changed
Lines changed: 21 additions & 48 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
378 | | - | |
| 378 | + | |
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| |||
432 | 432 | | |
433 | 433 | | |
434 | 434 | | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
| 435 | + | |
446 | 436 | | |
447 | 437 | | |
448 | 438 | | |
449 | 439 | | |
450 | 440 | | |
451 | 441 | | |
452 | 442 | | |
453 | | - | |
| 443 | + | |
| 444 | + | |
454 | 445 | | |
455 | 446 | | |
456 | 447 | | |
457 | | - | |
| 448 | + | |
458 | 449 | | |
459 | 450 | | |
460 | | - | |
| 451 | + | |
461 | 452 | | |
462 | 453 | | |
463 | | - | |
| 454 | + | |
464 | 455 | | |
465 | 456 | | |
466 | 457 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | 429 | | |
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
| 487 | + | |
498 | 488 | | |
499 | 489 | | |
500 | 490 | | |
501 | 491 | | |
502 | 492 | | |
503 | 493 | | |
504 | 494 | | |
505 | | - | |
| 495 | + | |
| 496 | + | |
506 | 497 | | |
507 | 498 | | |
508 | 499 | | |
509 | | - | |
| 500 | + | |
510 | 501 | | |
511 | 502 | | |
512 | | - | |
| 503 | + | |
513 | 504 | | |
514 | 505 | | |
515 | | - | |
| 506 | + | |
516 | 507 | | |
517 | 508 | | |
518 | 509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
| |||
502 | 502 | | |
503 | 503 | | |
504 | 504 | | |
505 | | - | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
| 505 | + | |
516 | 506 | | |
517 | 507 | | |
518 | 508 | | |
519 | 509 | | |
520 | 510 | | |
521 | 511 | | |
522 | 512 | | |
523 | | - | |
| 513 | + | |
| 514 | + | |
524 | 515 | | |
525 | 516 | | |
526 | 517 | | |
527 | | - | |
| 518 | + | |
528 | 519 | | |
529 | 520 | | |
530 | | - | |
| 521 | + | |
531 | 522 | | |
532 | 523 | | |
533 | | - | |
| 524 | + | |
534 | 525 | | |
535 | 526 | | |
536 | 527 | | |
| |||
0 commit comments