Commit 1c00e1b
committed
test: disable Comet shuffle in pyarrow UDF pytest session
CometSparkSessionExtensions.isCometLoaded short-circuits the whole
extension (returning false; no rules registered) when
spark.comet.exec.shuffle.enabled is true but spark.shuffle.manager is
not Comet's manager. The pytest conftest only sets the basic Comet
configs, so this guard fired and CometScanRule never ran. The plan
stayed vanilla Parquet, the rewrite chain never had a Comet columnar
producer to match, and every [accelerated] assertion that checks for
CometMapInBatch failed.
These tests do not exercise shuffle, so disable Comet shuffle in the
session. Comet's scan and exec rules then run normally and the rewrite
fires.
Diagnoses the wholesale PyArrow UDF Spark 4.0 CI failure on #4234.1 parent a520321 commit 1c00e1b
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
66 | 72 | | |
67 | 73 | | |
68 | 74 | | |
| |||
0 commit comments