Github user shivaram commented on a diff in the pull request:

    https://github.com/apache/spark/pull/15010#discussion_r77944380
  
    --- Diff: R/pkg/inst/tests/testthat/test_sparkSQL.R ---
    @@ -243,7 +243,15 @@ test_that("read csv as DataFrame", {
       expect_equal(count(withoutna2), 3)
       expect_equal(count(where(withoutna2, withoutna2$make == "Dummy")), 0)
     
    +  # writing csv file
    +  csvPath2 <- tempfile(pattern = "csvtest2", fileext = ".csv")
    +  write.df(df2, path = csvPath2, "csv", header = "true")
    +  df3 <- read.df(csvPath2, "csv", header = "true")
    --- End diff --
    
    We could do this - but I was thinking we could also check if R's `read.csv` 
is able to read back the file correctly with headers ?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to