sandip-db commented on code in PR #51182:
URL: https://github.com/apache/spark/pull/51182#discussion_r2153381034
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/CSVSuite.scala:
##########
@@ -3686,6 +3687,96 @@ abstract class CSVSuite
parameters = Map("columnName" -> "`v`", "columnType" -> "\"VARIANT\"",
"format" -> "CSV")
)
}
+
+ private def createTestFiles(dir: File, fileFormatWriter: Boolean,
Review Comment:
I thought about this. However, each format has some special cases that
requires generating the files slightly differently:
- TextFileFormat has wholeText option that reads the whole file
- CSV has header option
- Json has single and multiline options
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]