if (isCQL3Table)
{
// CQL3 table don't support having only part of their composite column names set
CompositeType composite = (CompositeType)comparator;
ByteBuffer[] components = composite.split(name);
int minComponents = composite.types.size() - (cfDef.hasCollections ? 1 : 0);
if (components.length < minComponents)
throw new org.apache.cassandra.exceptions.InvalidRequestException(String.format("Not enough components (found %d but %d expected) for column name since %s is a CQL3 table",
components.length, minComponents, metadata.cfName));