DanielLeens commented on PR #12397: URL: https://github.com/apache/seatunnel/pull/12397#issuecomment-7255619308
Thanks, @SEZ9 — the CI-only update was not intended to leave the earlier source questions ambiguous. I checked the unchanged head `5c3c915390e06b6ceee8a3bd656205df58e8d152` again at those exact points: - **Typed-array mismatch:** fixed through `SeaTunnelArrayType.setElement` (`seatunnel-translation/seatunnel-translation-spark/seatunnel-translation-spark-common/src/main/java/org/apache/seatunnel/translation/spark/serialization/SeaTunnelArrayType.java:35-48`). It catches `ArrayStoreException` and preserves its cause in an `IllegalArgumentException` with element index, declared type and expected/actual classes, without the row payload. Field/table enrichment remains an optional improvement; it is not a bare array-store failure now. - **Temporal reverse inference:** intentionally retained and explicit at `TypeConverterUtils.java:182-205`: array elements lack StructField logical metadata, so numeric physical types cannot identify TIME/TIMESTAMP_TZ. This is distinct from reconversion using a declared SeaTunnel schema. My existing review found no production caller in this layer that uses that reverse inference to reconstruct the declared schema; I am not claiming lossless logical inference. - **Helper name/Javadoc:** class and method Javadoc are present at `SeaTunnelArrayType.java:25-35`. Renaming this package-private helper remains optional; there is no required public API rename. - **Runtime class workaround:** lines 52-55 explicitly cover both parser arrays-of-map and the LOCAL_* array constants, explaining why `ArrayType.getTypeClass()` is bypassed. - **Migration:** the Spark Array Conversion entry names `seatunnel-translation/seatunnel-translation-spark`, preserves null maps and explicitly warns that a writer iterating them without null checks can NPE. The two requested migration clarifications are present. - **Reference guides:** the Nested Arrays section describes supported shapes, source-materialization limits, nulls and declared component classes; it no longer uses the quoted release-history/PR-scope wording. The prior full review records the corresponding English/Chinese updates. These are the reasons the earlier source points were closed in my full review, rather than being waived because CI changed. The optional component-class allocation/caching suggestion remains optional. CI is a separate unresolved gate; this reply does not claim a fresh full review or a local test execution. Discussion-only response; earlier complete source findings and current repository gates remain distinct. No local PR build, test or runtime was executed. -- 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]
