snuyanzin commented on PR #29366: URL: https://github.com/apache/flink/pull/29366#issuecomment-7217291775
we can return 0 for YEAR, QUARTER or MONTH (if we use versioned functions) however >TIME mixed with TIMESTAMP: MySQL uses CURRENT_DATE, SQL Server 1900-01-01. Flink already uses 1970-01-01: CAST(TIME '12:00:00' AS TIMESTAMP) gives 1970-01-01 12:00:00, and the existing 613 and -612 tests rely on it. is very question able approach given the fact that there is no vendor following same way -- 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]
