e1a897b657
This adds API for reading and writing text files, similar to SparkContext.textFile and RDD.saveAsTextFile. ``` SQLContext.read.text("/path/to/something.txt") DataFrame.write.text("/path/to/write.txt") ``` Using the new Dataset API, this also supports ``` val ds: Dataset[String] = SQLContext.read.text("/path/to/something.txt").as[String] ``` Author: Reynold Xin <rxin@databricks.com> Closes #9240 from rxin/SPARK-11274. |
||
---|---|---|
.. | ||
META-INF/services | ||
dec-in-i32.parquet | ||
dec-in-i64.parquet | ||
log4j.properties | ||
nested-array-struct.parquet | ||
old-repeated-int.parquet | ||
old-repeated-message.parquet | ||
old-repeated.parquet | ||
parquet-thrift-compat.snappy.parquet | ||
proto-repeated-string.parquet | ||
proto-repeated-struct.parquet | ||
proto-struct-with-array-many.parquet | ||
proto-struct-with-array.parquet | ||
text-suite.txt |