for example: create table t1 (a int, b date) dbpartition by hash (year(b)) dbpartitions 2 tbpartition by hash (year(b)) tbpartitions 2
for example: create table t1 (a int, b date) dbpartition by hash (year(b)) dbpartitions 2 tbpartition by hash (year(b)) tbpartitions 2