hutiefang76 commented on issue #13361: URL: https://github.com/apache/seatunnel/issues/13361#issuecomment-7059110361
@SEZ9 I tested the `TIME` column directly with the Calcite engine. With `09:10:11.123456` as input, `SELECT *` and `SELECT tod` both returned `09:10:11.123`. Adding a one-second interval returned `09:10:12.123`. The projection completed. The converter represents `TIME` as milliseconds since midnight. I also tried a local boundary-only experiment for the two timestamp types. Passing epoch milliseconds removed the cast error in both projection and interval arithmetic, but `.123456` became `.123` in both cases. Preserving six digits also requires handling sub-millisecond precision through Calcite's arithmetic. -- 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]
