The function CCMPrepare adds a new partition column, aster_ccm_id, and partitions the data for use with the CCM function. CCM partitions the data automatically, but to ensure that the data is partitioned the same way over multiple executions of the function, use CCMPrepare to create the input table for CCM.