You can perform this task in two ways as below,
1) Use the concat() function. Refer to the below screenshot for this,
![image](https://attachment.freshdesk.com/inline/attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NDA2MjM1OTgwMCwiZG9tYWluIjoiZWR1cmVrYS5mcmVzaGRlc2suY29tIiwiYWNjb3VudF9pZCI6NDE0NTN9.0fljEpgXifLWX0tGBuB5gmXRGqdP4gQSPzZhX-v3dcA)
2) You can add the two strings with the + symbol. Refer to the below screenshot for this,
![image](https://attachment.freshdesk.com/inline/attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NDA2MjM1OTkzOSwiZG9tYWluIjoiZWR1cmVrYS5mcmVzaGRlc2suY29tIiwiYWNjb3VudF9pZCI6NDE0NTN9.fAGhRRBBaUeOb3IlyEsKXaf0H_i4Z3cPMTe73A9l-EU)
And if your concern was to just include a quote in a string then you can execute the command as shown in the below screenshot,
![image](https://attachment.freshdesk.com/inline/attachment?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpZCI6NDA2MjM2MDAyNSwiZG9tYWluIjoiZWR1cmVrYS5mcmVzaGRlc2suY29tIiwiYWNjb3VudF9pZCI6NDE0NTN9.gwPFZdwUrUom3bYhfM82CrXEzpc2R4oo3I9_deekXUk)
Hope this helps!
If you want to know more about Apache Spark Scala, It's highly recommended to go for Spark certification course today.
Thanks!!