alter table history_uint partition by range(clock)(
partition p201601 values less than (1451577600),
partition p201602 values less than (1454256000),
partition p201603 values less than (1456761600),
partition p201604 values less than (1459440000),
partition p201605 values less than (1462032000),
partition p201606 values less than (1464710400),
partition p201607 values less than (1467302400),
partition p201608 values less than (1469980800),
partition p201609 values less than (1472659200),
partition p201610 values less than (1475251200),
partition p201611 values less than (1477929600),
partition p201612 values less than (1480521600));
alter table trends_uint partition by range(clock)(
partition p201601 values less than (1451577600),
partition p201602 values less than (1454256000),
partition p201603 values less than (1456761600),
partition p201604 values less than (1459440000),
partition p201605 values less than (1462032000),
partition p201606 values less than (1464710400),
partition p201607 values less than (1467302400),
partition p201608 values less than (1469980800),
partition p201609 values less than (1472659200),
partition p201610 values less than (1475251200),
partition p201611 values less than (1477929600),
partition p201612 values less than (1480521600));