I want to write multiline using | in the terminal. I am using Cloudera quickstart VM.
val csv = spark.read.option("header",true).option("inferSchema",true).csv("hdfs://quickstart.cloudera:8020/user/spark/dataset/retail_db/categories-header")
I am writing this full in single line. How to write using multiple line ? Please Help
You can use
\
. For example:data = [1,2,3].\ pop()
After\
you can move on to the next line