org.apache.spark.sql.execution.datasources
An adaptor from a PartitionedFile to an Iterator of Text, which are all of the lines in that file.
(Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.
collect
toSeq
An adaptor from a PartitionedFile to an Iterator of Text, which are all of the lines in that file.