Throw IllegalArgumentException if all columns are ignored.