snuyanzin commented on code in PR #26954:
URL: https://github.com/apache/flink/pull/26954#discussion_r2874176162
##########
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/planner/calcite/FlinkTypeFactory.scala:
##########
@@ -630,11 +630,7 @@ object FlinkTypeFactory {
// temporal types
case DATE => new DateType()
case TIME =>
- if (relDataType.getPrecision > 3) {
Review Comment:
~we should throw exception similar is done for other types like `TIMESTAMP`
or `DAY_INTERVAL_TYPES` for instance~
no need to throw exception here
there is a dedicated validation in `TimeType#TimeType`
--
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]