TO_DATE(DATE_FORMAT(FROM_UNIXTIME(1629244800000 / 1000),'yyyy-MM-dd')) -- 2021-08-18
Flink SQL> select TO_DATE(DATE_FORMAT(FROM_UNIXTIME(1629244800000 / 1000),'yyyy-MM-dd'));
+----+------------+
| op | EXPR$0 |
+----+------------+
| +I | 2021-08-18 |
+----+------------+
Received a total of 1 row
Flink SQL> select TO_DATE(DATE_FORMAT(FROM_UNIXTIME(1629244800000 / 1000),'yyyy-MM-dd'));
+----+------------+
| op | EXPR$0 |
+----+------------+
| +I | 2021-08-18 |
+----+------------+
Received a total of 1 row
版权归原作者 Thomas2143 所有, 如有侵权,请联系我们删除。