Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/21667#discussion_r200236630
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/text/TextFileFormat.scala
---
@@ -141,6 +136,11 @@ class TextFileFormat extends TextBasedFileFormat with
DataSourceRegister {
}
}
}
+
+ override def supportDataType(dataType: DataType, isReadPath: Boolean):
Boolean = dataType match {
--- End diff --
`dataType == StringType`
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]