Cast functions and operators enable conversion of values from one data type to another. TiDB supports all of the [cast functions and operators](https://dev.mysql.com ...
Related with pingcap/tidb#23993, when cast Int, Real or Decimal into Time if there has Truncated error the result should be NULL.