To be compatible with Microsoft's Spark .Net solution, DataFrame.Collect() should return IEnumerable<Row> instead of List<object[]>.
The Row class should provide Get(string columnName) and Get(int index) methods that return object and that throw an exception when the given columnName or index are not available.
To be compatible with Microsoft's Spark .Net solution,
DataFrame.Collect()
should returnIEnumerable<Row>
instead ofList<object[]>.
TheRow
class should provideGet(string columnName)
andGet(int index)
methods that returnobject
and that throw an exception when the givencolumnName
orindex
are not available.