table.cast_values() can not rely on the headers size being the same as the row size.
No header info is returned for columns resulting from aggregates or column alias. so len(header) <= len(row).
June 14, 2018, 10:27 PM
In SYNPY-750, I fixed _iter_ to only pass to cast_values parameters with the same size. Let's evaluate any other callers of cast_values.