53672/scala-loading-a-csv-file
Refer to the below command:
val input_df = sqlContext.read.format("csv").option("header", "true").option("delimiter",",").load("file.csv")
Hope this helps!
If you need to know more about Scala, join Spark course today and become the expert.
Thanks!!
Check the reference code mentioned below: def main(args: ...READ MORE
Hi@Manas, You can read your dataset from CSV ...READ MORE
You can use the following command. This ...READ MORE
Yes, you can go ahead and write ...READ MORE
Instead of spliting on '\n'. You should ...READ MORE
Firstly you need to understand the concept ...READ MORE
org.apache.hadoop.mapred is the Old API org.apache.hadoop.mapreduce is the ...READ MORE
Hi, You can create one directory in HDFS ...READ MORE
Hi! I found 2 links on github where ...READ MORE
Function Definition : def test():Unit{ var a=10 var b=20 var c=a+b } calling ...READ MORE
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.