plugin_register functions/time table_create Timestamps TABLE_PAT_KEY Time load --table Timestamps [ {"_key": 0}, {"_key": "2016-05-05 22:33:09.999999"}, {"_key": "2016-05-05 22:33:10.000000"}, {"_key": "2016-05-05 22:33:10.000001"}, {"_key": "2016-05-05 22:33:10.999999"}, {"_key": "2016-05-05 22:33:11.000000"}, {"_key": "2016-05-05 22:33:11.000001"} ] select Timestamps \ --sortby _id \ --limit -1 \ --output_columns '_key, time_classify_second(_key)'