SEZ9 commented on PR #12397: URL: https://github.com/apache/seatunnel/pull/12397#issuecomment-7263404759
Thanks for the follow-up. Here is where the earlier review points stand against the unchanged head `5c3c915390e06b6ceee8a3bd656205df58e8d152`; this is a status summary, not a fresh full review or a local test run. **Addressed** - **Typed-array mismatch:** `SeaTunnelArrayType.setElement` now catches `ArrayStoreException` and rethrows an `IllegalArgumentException`. It keeps the cause and reports the element index, declared type and expected/actual classes, without the row payload, so this is no longer a bare array-store failure. - **Helper Javadoc:** class and method Javadoc are present on `SeaTunnelArrayType`. - **Runtime class comment:** the comment now explains why `ArrayType.getTypeClass()` is bypassed, covering both the parser arrays-of-map case and the `LOCAL_*` array constants. - **Null map elements:** the Spark Array Conversion entry in the incompatible-changes page states that null maps are preserved and warns that a writer iterating them without null checks can NPE. - **Module naming:** that entry now names `seatunnel-translation/seatunnel-translation-spark`. - **Nested Arrays docs:** the section describes supported shapes, source-materialization limits, nulls and declared component classes, without the release-history or PR-scope wording, in both English and Chinese. **Accepted as is** - **Temporal reverse inference:** `TypeConverterUtils` keeps this behaviour and now makes it explicit. Array elements carry no StructField logical metadata, so numeric physical types cannot identify TIME/TIMESTAMP_TZ. No production caller in this layer uses that reverse inference to rebuild the declared schema, so I'm fine leaving it, on the understanding that it is not lossless. **Remaining asks** 1. CI is still an unresolved gate, separate from the points above. Please get it green, and if a failure looks unrelated to this change, say which one so we can look at it together. 2. Optional: add field/table context to the `setElement` error message. 3. Optional: rename the package-private `SeaTunnelArrayType` helper so it reads as a utility rather than a data type. No public API rename is needed. Neither optional item blocks this PR. <!-- streview-comment:2722 --> -- 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]
