Commit 0a91148
authored
[Build] Pin Spark 4.2 lane to 4.2.0-preview5 (#6870)
## 🥞 Stacked PR
Use this [link](https://github.com/delta-io/delta/pull/6870/files) to
review incremental changes.
-
[**stack/spark42-preview**](#6870)
[[Files changed](https://github.com/delta-io/delta/pull/6870/files)]
- [stack/bump_uc_sha](#6866)
[[Files
changed](https://github.com/delta-io/delta/pull/6866/files/046318c601ad27e6edbb069fba558bff95b047e5..11a3e61ca79e90de45ee2252c2cefc06d6ec5ebb)]
-
[stack/DeltaCatalogClient_create](#6826)
[[Files
changed](https://github.com/delta-io/delta/pull/6826/files/11a3e61ca79e90de45ee2252c2cefc06d6ec5ebb..8a63fe4049beb49bf93f4d1b3a308b56ca5a273f)]
-
[stack/DeltaCatalogClient_replace](#6859)
[[Files
changed](https://github.com/delta-io/delta/pull/6859/files/8a63fe4049beb49bf93f4d1b3a308b56ca5a273f..0c5b785015d413cd9c026cd1091cf7f3d457f5f6)]
---------
#### Which Delta project/connector is this regarding?
- [x] Spark
- [ ] Standalone
- [ ] Flink
- [ ] Kernel
- [ ] Other (fill in here)
## Description
[Build] Pin Spark 4.2 lane to 4.2.0-preview5
- `CrossSparkVersions.scala`: `4.2.0-SNAPSHOT` -> `4.2.0-preview5`; drop
jitpack.
- `get_spark_version_info.py`: `--released-spark-versions` explicitly
excludes `-SNAPSHOT` / `-preview` markers.
- `test_cross_spark_publish.py`: bump pinned version; widen version
regex to accept `-previewN`; mirror the explicit pre-release marker
check.
- `spark_test.yaml`: comment "snapshot" -> "preview".
- `DeltaChangelogTestBase.java`: widen the existing SNAPSHOT-only skip
to also skip `-preview` (known `DeltaCatalog`/`AbstractDeltaCatalog`
classpath bug in sparkV2).
- `DeltaParquetFormatVersionSuite.scala`: widen the SPARK-56414
SNAPSHOT-only `assume` to also skip `-preview` (Delta's
`DeltaFileFormatWriter` does not yet merge per-write options).
## How was this patch tested?
CI
## Does this PR introduce _any_ user-facing changes?
No
Signed-off-by: Yi Li <yi.li@databricks.com>1 parent a8f50d6 commit 0a91148
6 files changed
Lines changed: 37 additions & 25 deletions
File tree
- .github/workflows
- project
- scripts
- tests
- spark
- src/test/scala/org/apache/spark/sql/delta
- v2/src/test/scala-shims/spark-4.2/io/delta/spark/internal/v2/read/changelog
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
| 289 | + | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
| 297 | + | |
301 | 298 | | |
302 | 299 | | |
303 | 300 | | |
| |||
307 | 304 | | |
308 | 305 | | |
309 | 306 | | |
310 | | - | |
| 307 | + | |
311 | 308 | | |
312 | 309 | | |
313 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
115 | 117 | | |
116 | 118 | | |
117 | | - | |
| 119 | + | |
118 | 120 | | |
119 | 121 | | |
120 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
472 | | - | |
| 472 | + | |
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
496 | | - | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
497 | 503 | | |
498 | 504 | | |
499 | 505 | | |
500 | | - | |
| 506 | + | |
501 | 507 | | |
502 | 508 | | |
503 | 509 | | |
504 | 510 | | |
505 | | - | |
| 511 | + | |
| 512 | + | |
506 | 513 | | |
507 | | - | |
508 | | - | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
509 | 517 | | |
510 | 518 | | |
511 | | - | |
| 519 | + | |
512 | 520 | | |
513 | 521 | | |
514 | 522 | | |
| |||
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | | - | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
0 commit comments