This method is used for writing data from spark partitions to h2o chunks.
This method is used for writing data from spark partitions to h2o chunks.
In case of internal backend it returns the original iterator and empty length because we do not need it In case of external backend it returns new iterator with the same data and the length of the data