plugin_register functions/time [[0,0.0,0.0],true] table_create Timestamps TABLE_PAT_KEY Time [[0,0.0,0.0],true] load --table Timestamps [ {"_key": 0}, {"_key": "2016-05-05 21:59:59.999999"}, {"_key": "2016-05-05 22:00:00.000000"}, {"_key": "2016-05-05 22:00:00.000001"}, {"_key": "2016-05-05 22:59:59.999999"}, {"_key": "2016-05-05 23:00:00.000000"}, {"_key": "2016-05-05 23:00:00.000001"} ] [[0,0.0,0.0],7] select Timestamps --sortby _id --limit -1 --output_columns '_key, time_classify_hour(_key)' [ [ 0, 0.0, 0.0 ], [ [ [ 7 ], [ [ "_key", "Time" ], [ "time_classify_hour", null ] ], [ 0.0, 0.0 ], [ 1462453199.999999, 1462449600.0 ], [ 1462453200.0, 1462453200.0 ], [ 1462453200.000001, 1462453200.0 ], [ 1462456799.999999, 1462453200.0 ], [ 1462456800.0, 1462456800.0 ], [ 1462456800.000001, 1462456800.0 ] ] ] ]