yihua opened a new pull request, #1050:
URL: https://github.com/apache/incubator-xtable/pull/1050

   ## *Important Read*
   
   Part of #902: the Java 17 and Spark 3.5 steps, with Spark 4.1 as a profile 
rather than the default.
   
   ## What is the purpose of the pull request
   
   Moves the default build to Java 17, Spark 3.5.9, Iceberg 1.12.0 and 
delta-spark 3.3.2, adds a `spark4.1` profile, and keeps an explicit `spark3.5` 
profile. Iceberg 1.11 and later need Java 17, and Iceberg 1.12 publishes no 
Spark 3.4 runtime, so the Spark 3.5 default comes with the Iceberg upgrade. 
Hudi stays at 1.2.1.
   
   ## Brief change log
   
   - `DeltaSparkShim`, under `src/main/delta3` and `src/main/delta4`, holds the 
few `DeltaLog` calls whose signatures differ between Delta 3 and 4; the build 
adds the one `delta.shim.dir` names.
   - Root pom and workflows: Java 17, the module opens the test JVMs need, and 
a `spark4.1` profile (Scala 2.13, Delta 4.1, Paimon's Spark 4.0 module, and the 
Netty, Parquet and ORC versions Spark 4.1 is built with). `xtable-utilities` 
shades the modules Spark 3.5 adds.
   - Tests: Spark sessions stop with `stop()`, the Iceberg time travel IT uses 
`timestampAsOf`, `ITDeltaConversionSource` counts log listings against 
`getChanges`, and the Delta tests follow Delta 3: column-mapping tables enable 
IcebergCompatV2, and `ITDeltaDeleteVectorConvert` reloads its table handle and 
expects the deletion vectors Delta 3's MERGE writes.
   - `xtable-core` runs at most four test cases at once; with one per core, the 
concurrent cases of `ITConversionController` outgrew the 1.5 GB test heap on 
Spark 3.5.
   
   Known limitations:
   
   - **regression:** `xtable-spark-runtime` on Spark 3.4 with delta-core 2.4 
can no longer use the Delta (non-Kernel) source, since the shim calls Delta 3 
APIs; the Spark 3.4 leg of the runtime validation is dropped.
   - **never supported, newly reachable:** a Delta table with column mapping, 
written by Delta 3, without IcebergCompatV2 and with a map or a list of 
primitives syncs to an Iceberg table Iceberg cannot read. Delta 3 writes 
Parquet field ids but none for map keys, values and list elements, and Iceberg 
resolves a file with field ids by id, ignoring the name mapping.
   - `spark4.1` builds `xtable-core` and the Iceberg table format only, leaves 
`ITDeltaConversionSource` and `TestDeltaSync` out of its test compile, and has 
no CI job.
   
   ## Verify this pull request
   
   This pull request is already covered by existing tests, run locally:
   
   - On JDK 17: 596 `xtable-core` unit tests pass (3 skipped), all 226 
`xtable-core` ITs pass, including `ITDeltaDeleteVectorConvert`, 
`ITDeltaConversionSource` and the Delta column-mapping cases after the Delta 3 
test changes above, and the Iceberg table format's 26 unit tests and 46 ITs 
pass (1 skipped).
   - The whole reactor builds with `-DskipTests`; `-Pspark4.1` builds 
`xtable-core` and the Iceberg table format with their tests.
   - `spotless:check`, `apache-rat:check` and 
`release/scripts/validate_shaded_license_coverage.sh` pass.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to