+----------------------+-----------------------+
| nrm_connect_time | left_nrm_connect_time |
+======================+=======================+
| 2017-06-09 00:05:00 | -1-01-01 0 |
| 2017-06-09 00:05:00 | -1-01-01 0 |
| 2017-06-09 00:05:01 | -1-01-01 0 |
| 2017-06-09 00:05:03 | -1-01-01 0 |
| 2017-06-09 00:05:03 | -1-01-01 0 |
+----------------------+-----------------------+
5 tuples (29.802ms)
sql>SELECT DISTINCT nrm_connect_time, LEFT(CAST(nrm_connect_time AS STRING),10) FROM NRM_20170609 LIMIT 5;
+----------------------+------------+
| nrm_connect_time | L2 |
+======================+============+
| 2017-06-09 00:05:00 | 2017-06-09 |
| 2017-06-09 00:05:01 | 2017-06-09 |
| 2017-06-09 00:05:03 | 2017-06-09 |
| 2017-06-09 00:05:04 | 2017-06-09 |
| 2017-06-09 00:05:05 | 2017-06-09 |
+----------------------+------------+
5 tuples (424.306ms)