Throw exception when column def contains wrong length.