1 eval CREATE
TABLE $TABLENAME
4 INDEX ind_$TABLENAME (b,a),
8 SUBPARTITION BY
HASH (a) SUBPARTITIONS 3
9 (PARTITION pNeg VALUES LESS THAN (0)
10 (SUBPARTITION subp0 $DATA_PATH $INDEX_PATH,
11 SUBPARTITION subp1 $DATA_PATH $INDEX_PATH,
12 SUBPARTITION subp2 $DATA_PATH $INDEX_PATH),
13 PARTITION `p0-29` VALUES LESS THAN (30)
14 (SUBPARTITION subp3 $DATA_PATH $INDEX_PATH,
15 SUBPARTITION subp4 $DATA_PATH $INDEX_PATH,
16 SUBPARTITION subp5 $DATA_PATH $INDEX_PATH),
17 PARTITION `p30-299` VALUES LESS THAN (300)
18 (SUBPARTITION subp6 $DATA_PATH $INDEX_PATH,
19 SUBPARTITION subp7 $DATA_PATH $INDEX_PATH,
20 SUBPARTITION subp8 $DATA_PATH $INDEX_PATH),
21 PARTITION `p300-2999` VALUES LESS THAN (3000)
22 (SUBPARTITION subp9 $DATA_PATH $INDEX_PATH,
23 SUBPARTITION subp10 $DATA_PATH $INDEX_PATH,
24 SUBPARTITION subp11 $DATA_PATH $INDEX_PATH),
25 PARTITION `p3000-299999` VALUES LESS THAN (300000)
26 (SUBPARTITION subp12 $DATA_PATH $INDEX_PATH,
27 SUBPARTITION subp13 $DATA_PATH $INDEX_PATH,
28 SUBPARTITION subp14 $DATA_PATH $INDEX_PATH));
30 #eval SHOW CREATE TABLE $TABLENAME;