没有直接的办法,可以
pt = createPartitionedTable(dbHandle, table, tableName)
建立分区表,然后将普通表t通过pt.append!(t)的方式将名为tableName的表变为分区表。