SEZ9 commented on PR #12397:
URL: https://github.com/apache/seatunnel/pull/12397#issuecomment-7328483894
Thanks for keeping this Spark nested-array change current. Here is where
things stand at `90a4f2ae18345e021529cd722175c6c6eec4efe5`.
**What holds up**
- The converters, nested-array regression tests and Spark migration notes
from the previous source review are intact. The later changes in the two
incompatible-changes guides come from the base.
- The JDK 11 unit log shows all 117 `NestedArrayConverterTest` cases passing.
- `testSparkNestedArrays` succeeds in both Spark containers on JDK 11 and
JDK 17.
**Blocking: CI is red at this head**
- The JDK 11 engine lane failed `RestApiIT.testGetLog` in
`verifyLogLink:491`. This is a separate Zeta log-retrieval assertion, so please
re-trigger the build.
- The JDK 11 local-file connector lane also failed, and the available log
did not establish the specific failure. If it fails again, please paste the
failing test and stack trace here.
**Previous review points — please confirm status**
The source recommendation is unchanged, and the thread does not say which of
these were addressed. Could you reply with a one-line status for each (fixed,
deferred, or disagree with reason)?
1. **`reconvertArray` overloads:** a declared-vs-runtime element mismatch
surfaces as a bare `ArrayStoreException` with no field/table/type context.
2. **`TypeConverterUtils.convert` for Spark `ArrayType`:** temporal element
types silently produce lossy `ARRAY<BIGINT>` / `ARRAY<DECIMAL(20,6)>` for TIME
/ TIMESTAMP_TZ arrays.
3. **`SeaTunnelArrayType`:** it has no Javadoc, is named like a data type
rather than a utility, and does not point at the parser defect it works around.
4. **`SeaTunnelArrayType.runtimeClass` comment:** it should say that
`ArrayType.getTypeClass()` is intentionally ignored, which also covers the
`LocalTimeType[].class` constants, not only the parsed array-of-map case.
5. **Incompatible-changes entry, null maps:** null map elements inside
arrays now reach Spark sinks as `null` instead of `{}`. The entry should warn
that sink writers iterating `Map[]` without a null check can hit an NPE.
6. **"Nested Arrays" section in `docs/en/engines/spark.md` and the zh
mirror:** release-note and PR-scope prose ("Previously ...", "This
array-conversion fix does not ...") should come out of the reference page.
7. **Incompatible-changes entry, component naming:** it should use the
module path convention of sibling entries instead of prose.
Once the Apache Build is green at the current head and these seven have a
status, this is ready for the final maintainer pass.
<!-- streview-comment:2770 -->
--
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]