MaxGekk commented on code in PR #36169:
URL: https://github.com/apache/spark/pull/36169#discussion_r849649086


##########
sql/core/src/test/resources/test-data/unparseable_decimal.csv:
##########
@@ -0,0 +1,2 @@
+money

Review Comment:
   Could you write the file in the test like:
   ```scala
       withTempPath { path =>
         Seq(
           "money",
           "$92,807.99"
         ).toDF("data")
           .coalesce(1)
           .write.text(path.getAbsolutePath)
   ```
   see example in CSVSuite. We don't need unnecessary dependencies in the 
resource folder if we can easily form the intput.



-- 
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]

Reply via email to