I 've noticed that you add subpartition list into ddl, but values in lists are in upper case, when shouldn’t. Try this reproduction:
1.Create table from attachement, watch values of the subpartition.
2.Extract ddl from this table, values are in upper case.
Ps. Subpartition template in ex_ddl could be nice improvement too…
oryginal_table.zip (420 Bytes)