deshanxiao opened a new pull request, #37549:
URL: https://github.com/apache/spark/pull/37549

   ### What changes were proposed in this pull request?
   Support read csv file in SparkR.
   
   ### Why are the changes needed?
   Today, almost languages spark supports have the DataFrameReader.csv() API 
but R. R users usually use read.df() to read the csv file. So we need a more 
high-level api about it.
   
   Java:
   
[DataFrameReader.csv()](https://spark.apache.org/docs/latest/api/java/org/apache/spark/sql/DataFrameReader.html)
   
   Scala:
   
[DataFrameReader.csv()](https://spark.apache.org/docs/latest/api/scala/org/apache/spark/sql/DataFrameReader.html#csv(paths:String*):org.apache.spark.sql.DataFrame)
   
   Python:
   
[DataFrameReader.csv()](https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.DataFrameReader.csv.html#pyspark.sql.DataFrameReader.csv)
   
   R base library "utils" has introduce the namespace of "read.csv". So this 
api has changed the name from "read.csv" to "read.spark.csv" instead to avoid 
the conflict.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, read.spark.csv and write.spark.csv are introduced.
   
   
   ### How was this patch tested?
   UT  (TODO)
   


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