DanielLeens commented on issue #13361:
URL: https://github.com/apache/seatunnel/issues/13361#issuecomment-7041954432

   Classification: A / Transform-V2 Calcite timestamp runtime representation.
   
   Thanks for the focused reproduction and for verifying both `TIMESTAMP` and 
`TIMESTAMP_TZ`. Current `dev` converts `LocalDateTime` and `OffsetDateTime` to 
`java.sql.Timestamp` at the Calcite scan boundary, while the generated 
projection in the failing path expects Calcite's numeric timestamp 
representation. The fix should therefore stay in the Calcite value-conversion 
boundary; connector APIs and timestamp types should not be changed for this 
issue.
   
   Please cover both timestamp types, standalone projection, and whole-second 
interval arithmetic, with assertions that retain the six fractional digits from 
the report. A focused direct-engine regression plus the `FakeSource -> Calcite 
-> Console` job is sufficient for the first PR. The MySQL CDC snapshot/binlog 
scenario is useful additional end-to-end evidence, but it should not force 
connector changes or broaden this Calcite fix unless it exposes a separate 
conversion boundary.
   
   There is no linked implementation PR at this point. Please include the 
minimal focused tests and open a PR against current `dev`; the review can then 
verify the generated-value representation and the public job path together.
   


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