zclllyybb opened a new pull request, #42395:
URL: https://github.com/apache/doris/pull/42395
## Proposed changes
Issue Number: close #xxx
```sql
mysql> insert into str select "2020-12-12 00:00:00+03:30" from
numbers("number" = "10000000");
```
before:
```sql
mysql> select count(cast(k0 as datetime)) from str;
+----------------------------------+
| count(cast(k0 as DATETIMEV2(0))) |
+----------------------------------+
| 10000000 |
+----------------------------------+
1 row in set (6.51 sec)
```
after:
```sql
mysql> select count(cast(k0 as datetime)) from str;
+----------------------------------+
| count(cast(k0 as DATETIMEV2(0))) |
+----------------------------------+
| 10000000 |
+----------------------------------+
1 row in set (0.25 sec)
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]