DanielLeens commented on PR #13513:
URL: https://github.com/apache/seatunnel/pull/13513#issuecomment-7247471925

   ## Implementation Notes and Trade-offs
   
   Current head c6a81406bff7219cfdb18646a992a2ba31b8276f. Contributes to Apache 
SeaTunnel. Follow-up to the [full 
review](https://github.com/apache/seatunnel/pull/13513#pullrequestreview-6098649875);
 the original implementation/benchmark note is unchanged.
   
   ## Reported corrections — source-closed
   
   **Medium test ownership:** each of the three existing new direct-JDBC 
regressions installs AutoCloseable cleanup=format::close before format.open. 
Native JdbcOutputFormat first acquires a connection then prepares its executor; 
opening can fail after acquisition. The existing close contract skips 
zero-count flush, tolerates a null executor and closes the provider; native 
connection close releases its owned statements/TDS resources. Standard 
try-with-resources preserves a primary opening/body/assertion failure and 
suppresses a distinct cleanup failure; a close-only failure still fails the 
test. No JdbcOutputFormat/SinkWriter/driver/API lifecycle is modified.
   
   **Medium required conventions:** meaningful multiline contracts replace the 
new SQL Server converter/selector and two compatibility-test one-line Javadocs. 
Collections is imported normally. Three new private test helpers and the one 
existing createViewSql helper move intact below the externally callable 
methods. All13 original test/helper bodies, all19 original-PR method 
declarations and every data/assertion/phase/packet-threshold remain. No test is 
added for comments/moves/imports.
   
   The dedicated converter's complete executable tokens are identical; the sole 
shared-builder delta is the Javadoc of this PR's existing private SQL Server 
generated-write selector. Every shared executable token/import/method order 
remains identical, including legacy helper ordering. No shared business repair 
or broader formatter cleanup is included. Both original bilingual guide changes 
and all seven materialized POMs are unchanged.
   
   The root independently read the actual three-file diff, dedicated converter 
and native DecimalType constructor, generated/custom/target-metadata paths, all 
three regression bodies and both guides. DecimalType permits the test's 
unsupported logical scales, and the converter correctly falls back 
outside0..38. Native partial-open/close and both Microsoft driver versions were 
counterchecked from source; these are source observations, not executed SQL 
Server measurements.
   
   ## Actual validation and current gates
   
   The three pushed hashes match root-reviewed 
patch4bfdcedbf3ade6cb45179d4c34e3210b2ed2c342496dec1e664c4677c206dd9f. Java 
AST/token comparison proves both product executable streams unchanged, all13 
pre-PR test/helper bodies unchanged and all three new regression bodies 
equivalent after only cleanup/import normalization. Old 
assertions/inputs/three1000row phases/<=80 insert packet bound remain. Scoped 
product/E2E Spotless apply/check actually selected precisely two product files 
and one IT file; an earlier zero-file selector was detected and superseded 
before freeze. Diff, scope, helper order, unchanged POMs and ordinary canonical 
merge-tree pass; current GitHub headc6a81406bff7219cfdb18646a992a2ba31b8276f, 
mergeable=True.
   
   No local compile, UT/integration/E2E, package/RAT, 
Docker/engine/database/network fixture/provider, timing/heap/OOM or 
existing-artifact runtime reuse occurred. The three new direct-JDBC methods and 
existing engine template are authored coverage, not passed current-head 
executions. New Build remains pending; the old67c queued snapshot supplies no 
acceptance for this head. Relevant exact-head compilation, 
retained/direct-JDBC/engine regressions and packaging plus fresh 
source/discussion/head/no-conflict checks must complete passing before 
human-ready notification. Maintainer approval/merge remain separate.
   


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