SEZ9 commented on issue #13217:
URL: https://github.com/apache/seatunnel/issues/13217#issuecomment-7050819007

   @sainimal1ba-hue thanks for posting the `[DISCUSS]` thread and for the 
summary. Yes, the direction looks right, so please go ahead and write it up as 
a STIP. The closed v1 vocabulary, fail-by-default policy, and MySQL to MySQL 
scope match the four points listed earlier in this thread.
   
   Going only by your summary here, these details from those points still need 
to be explicit and testable in the STIP:
   
   1. **Additive compatibility.** State that the typed `DefaultValue` sits 
beside the existing `Column.defaultValue` field in v1. Enumerate constructor, 
copy, schema-event and serialized/catalog-metadata behavior for old values. 
Your summary mentions explicit `NULL`, but the STIP also needs to distinguish 
an absent default from a literal `NULL` and state that neither is reinterpreted 
during replay or upgrade.
   2. **Closed v1 semantics.** Name the exact literal types covered by "typed 
literals". Define the stored form of an `UNSUPPORTED` value, and state that it 
never becomes guessed target SQL.
   3. **Failure policy.** For the opt-in drop-and-warn mode, specify the 
configuration contract, the observable warning/metric, and the resulting 
target-schema state, so it cannot act as a silent fallback.
   4. **Bounded first delivery.** Name the one MySQL source/target pair and 
state the auto-create path as the initial slice. Include target DDL assertions 
for:
      - escaped strings
      - numeric/decimal values
      - absent versus `NULL`
      - current-time defaults
      - a metadata/replay compatibility case
   
      CDC evolution and cross-dialect mapping stay as later design decisions.
   
   Once the STIP is up, please link the resulting `[STIP-N]` issue here. As 
before, please hold the implementation PR until the design has maintainer 
consensus, since the STIP will serve as its acceptance contract.
   
   @corgy-w the summary above is the current state. There are no responses on 
the dev list yet, so your feedback on the `[DISCUSS]` thread or on the STIP 
would be very welcome when you have time.
   
   <!-- streview-comment:2488 -->


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