Closed mlondschien closed 3 years ago
The above code snipped could serve as a test. There are no tests for _reconstruct_index_columns
, but I could add some.
I'm just confused since I assume that the enumerate and the manual increase of the pos
counter should be identical so I am not sure what this change is doing.
We don't increase pos
if the condition in L772 holds true, as in the above example. One could also always insert at pos=0
, since IIUC the column order gets shuffled later anyways.
@fjetter could you have another look at this?
Sorry for the delay. Can you please rebase and ping when green?
Test failures are also on master.
Description:
On master:
This PR fixes this.