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

   ### Implementation Notes and Trade-offs
   
   Head: 2b9e68e201ddf053c0f7f4f60fee7a03e2e11c03
   
   The current official developer documentation distinguishes paginated 
project/task/time lists from full client/user arrays. Applying one paging model 
everywhere, or omitting paging from declared paginated lists, was rejected 
because either can duplicate/truncate data or miss later pages. Four families 
send 1-based page/limit; raw full arrays continue and short/empty arrays 
finish. Clients receive no paging parameters, and users omit their optional 
limit because the endpoint declares no page parameter. Whole-response and page 
budgets remain independent.
   
   The team-time endpoint defaults to the current day when dates are omitted. 
Relying on that default for a historical export was rejected. Time/time_records 
selections therefore require explicit paired YYYY-MM-DD bounds and use native 
inclusive from/to values; equal bounds read one day. Invalid/out-of-range 
response dates fail a complete page rather than silently accepting data outside 
the requested range. Directory-only selections can omit both dates. These are 
new-plugin options; no existing connector configuration or published state 
format is changed.
   
   Native project IDs are strings with integration prefixes and are encoded as 
one path segment at the fixed origin. Reserved characters or Unicode cannot 
change the host/query. Dot/slash/control/invalid UTF-8 parent identities fail 
before child requests. Duplicate parent records remain data when selected but 
expand children once. Shared tasks across projects and records appearing in 
global/project time retain their distinct resource/context rows. Supplied task 
project relationships are checked without overwriting payload fields. Numeric 
identities use bounded exact decimal normalization before exponent expansion; 
provider units and full nested/null payloads are retained.
   
   A dedicated artifact keeps project discovery and exact recovery outside 
shared engine/API code while reusing existing HTTP/Jackson versions. Discovery 
commits only with full page publication. Checkpoints deep-copy project IDs and 
store scope hashes, resource/parent/page/publication positions and canonical 
complete-array digests, excluding tokens, records and certificates. Partial 
replay accepts object-key reordering but rejects changed content/order/length 
before suffix output. Completed transitions do not replay, and terminal 
restoration performs no request.
   
   Actual validation: scoped Java 11 Spotless apply/check, source self-audit, 
exact path/hash/deletion/ASF/whitespace/XML checks, 22 type Javadocs, 15 option 
tables and registration/state contracts. Thirteen engine methods and ten 
packaged modes are authored, including four real savepoint paths. None ran 
locally. Compilation/runtime and live-account interoperability remain pending 
GitHub CI or an appropriate account environment. This is an initial 
implementation submission; subsequent CI/comment maintenance is handed off 
after the first readback. It is not a merge, production-acceptance or 
transaction-snapshot claim.
   


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