Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/14151#discussion_r137601004
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/text/TextFileFormat.scala
---
@@ -99,8 +100,22 @@ class TextFileFormat extends TextBasedFileFormat with
DataSourceRegister {
val broadcastedHadoopConf =
sparkSession.sparkContext.broadcast(new
SerializableConfiguration(hadoopConf))
+ val wholeText: Boolean = options.getOrElse("wholetext",
"false").toBoolean
--- End diff --
Move it to `TextOptions`?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]