Closed (fixed)
Project:
Migrate Sandbox!
Version:
1.1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
15 Sep 2022 at 15:00 UTC
Updated:
29 Sep 2022 at 15:24 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
danflanagan8I have this feature working! Here's a patch just to make sure the tests run up here.
I wish the implementation were more efficient, but I ran into trouble trying to serialize, store, and unserialize the source plugin instance. I kept getting this exception:
"The object is in an invalid state as the parent constructor was not called"Where "The object" appears to be the source plugin's iterator. Google only shows TEN(!) results for that error, so I'm not sure what to do to get past it or if there even is a way past it. I got the same error with embedded source, json source, and sql source. So at least for IteratorIterator and ArrayIterator, serializing the source does something funky to the iterator.
So unfortunately this implementation is slow. It has to reinstantiate the source plugin and iterate throw all rows again in order to get the next one. But it works.
Comment #4
danflanagan8