SEZ9 commented on PR #12251:
URL: https://github.com/apache/seatunnel/pull/12251#issuecomment-6568404646

   Thanks for keeping this branch current. Head 
`ab016a9042bcb469c8221f662859cf69d1d92b0d` is a plain merge of `dev` on top of 
`eb95e7ec`, so the Java sources, tests and E2E fixture are unchanged from the 
previously reviewed head and only the two `incompatible-changes.md` files 
differ. Updating my earlier findings against that:
   
   **Resolved**
   - F2 (blanket `catch (RuntimeException e)`): `isDataConversionFailure` now 
accepts only `NumberFormatException`, `DateTimeException`, 
`FORMAT_DATE_ERROR`/`FORMAT_DATETIME_ERROR` and `JSON_OPERATION_FAILED` 
wrappers whose remaining causes are themselves recognized, returns false for 
unknown or cyclic chains, and a nested `Error` is rethrown unchanged. That is 
the fail-closed behaviour I was after, so this is closed.
   - F1 / F7 (source JSON embedded in the exception message): the diagnostics 
now omit record, value, path and raw cause, which addresses both the log-leak 
and the master-propagation concern. Closed.
   
   **Still need confirmation from you** (a short per-item answer is enough):
   - F3: when `ROUTE_TO_TABLE` is configured for `column_error_handle_way` or 
`row_error_handle_way`, does a conversion failure now route to the error table, 
or does it still fall through to `FAIL`? If the latter, please either implement 
it or document the limitation explicitly.
   - F4: have the jsonpath transform docs been updated so that the 
`row_error_handle_way` section and the "Configure error data handle way" 
section/examples describe conversion failures as well as path failures, not 
just the `column_error_handle_way` entry?
   - F5: since conversion failures under the default `FAIL` policy now surface 
as `ErrorDataTransformException` / `JSONPATH_ERROR_CODE-07` rather than the raw 
converter exception with its `COMMON-*` code, please confirm this is called out 
in `incompatible-changes.md` so users matching on the old code are not 
surprised.
   - F6: is the new error-handling test still a separate class that reaches 
into a private field via reflection? I would prefer these cases folded into 
`JsonPathTransformTest#testErrorHandleWay` (or exercised through the public 
transform API) so the tests are not coupled to field names.
   - F8: is the cause still attached via `initCause()`? If 
`SeaTunnelRuntimeException` already offers a cause constructor, please use that 
instead; otherwise a one-line note on why `initCause()` is required is fine.
   
   Once you reply on F3–F8, I can finish the review.
   
   <!-- streview-comment:2220 -->


-- 
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