Skip to main content

All Questions

0 votes
0 answers
33 views

Spark : Read special characters from the content of dat file without corrupting it in scala

I have to read all the special characters in some dat file (e.g.- testdata.dat) without being corrupted and initialise it into a dataframe in scala using spark. I have one dat file (eg - testdata.dat),...
Prantik Banerjee's user avatar
0 votes
1 answer
163 views

How to parse single quote special charater using Gson library in Scala

I am unable to parse json file if values contain single quote and other characters as '()= etc Hi I have the following Json file: { "config": { "inputDFName": "...
san san's user avatar
  • 118
1 vote
1 answer
2k views

Scala regex match lines with special characters

I have a code segment that reads lines from a file and I want to filter certain lines out. Basically, I want to filter everything out that has not three tabulator-separated columns, where the first ...
flowit's user avatar
  • 1,414