DanielLeens commented on PR #12862: URL: https://github.com/apache/seatunnel/pull/12862#issuecomment-7130274897
Thanks, @SEZ9, for the detailed evidence. This is a substantive clarification of the unchanged head, and I should narrow my earlier clean-conclusion wording rather than imply these points were all disproved. 1. Your expansion-order observation is correct: WideDecimalUtils.java:159-177 calls setScale before the precision check, and error paths call toPlainString before abbreviation. Extreme-exponent BigDecimal input can therefore do large work before rejection. This is conditional input evidence, not an observed PostgreSQL/Doris incident. Cheap digit/scale checks and bounded scientific rendering are the focused improvement; I have not executed the proposed huge-exponent experiment. 2. MultiTableManager merges names to columnN, so runtime value errors do not preserve the original table/column identity. Collection preflight has the real path; that does not fix value-error attribution. 3. The Doris documentation does run ahead of this head: AbstractDorisTypeConverter's LARGEINT branch remains DECIMAL(20,0), while docs/en/engines/spark.md:145 calls it DECIMAL(39,0). Please qualify the example on #12787 (or use a current PostgreSQL wide-NUMERIC example) in both languages and the migration note. My previous description overstated current Doris coverage. 4. invalidValue includes the rejected text; a 64-character cap does not mask a 39-digit identifier/amount. Avoid exposing the whole value in the error; the field/type/reason is enough. 5. SeaTunnelRowConverter.java:263-269 does return non-text objects without wide-decimal validation, while InternalRowConverter has a different fallback. This is an unexpected-carrier boundary, not proof that valid plain-text rows are rounded. Aligning validation and column/error context is appropriate. 6. I agree that fromMetadata is a schema-conversion utility, not the normal row-restoration path. The architecture page should state that scope; its current wording can imply a runtime metadata check that is not invoked. 7. The fallback collection error loses field path, but normal jobs hit MultiTableManager's real-table preflight first. Keep this utility diagnostic improvement distinct from a newly demonstrated production failure. 8. The public metadata constants/method contracts deserve concise documentation, especially both keys' long values and the exception contract. These are your existing findings, not a second numbered Daniel review. The documentation correction and the requested bounded-rejection/validation follow-up remain open for the author/maintainer to resolve; I cannot treat the earlier unconditional source-clear statement as final acceptance. No exact-head CI run/check is currently attached, and absence alone does not prove Actions are disabled. Please attach the real Build/PR-signal reference when it is started. This is a discussion follow-up on unchanged head `87c65a8591dba63d3a4ee17b0f8bb4786b717c37`, not a new full source review. I inspected the named local source paths; no local build, test or SeaTunnel runtime was executed. Daniel has READ permission; effective maintainer approval and historical review dismissal remain separate repository actions. -- 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]
