sadikovi commented on a change in pull request #34596: URL: https://github.com/apache/spark/pull/34596#discussion_r759688348
########## File path: sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/CSVSuite.scala ########## @@ -1012,6 +1012,196 @@ abstract class CSVSuite } } + test("SPARK-37326: Use different pattern to write and infer TIMESTAMP_NTZ values") { + withTempDir { dir => + val path = s"${dir.getCanonicalPath}/csv" Review comment: Oh, I could not because the directory already exists by the time the method is called. `withTempDir` creates a directory, but it needs to be non-existent for Spark to write into. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org