Checks one key of a group against the input schema, stopping at its first problem: it is named, in the input, and of a type the database can group by (isSortableType: not VARIANT or a type Cube doesn't know, PLAN ยง11.5). Exported so an editor can mark each key.