Extra character "U'"

#1

Hi all,

When I write a RDD into a text file, I am getting extra character ===> “u’”
in front of the column, what is that character, how do we ignore that character?


Learn Spark 1.6.x or Spark 2.x on our state of the art big data labs

  • Click here for access to state of the art 13 node Hadoop and Spark Cluster

0 Likes

#2

You need to convert your data into string/text before writing it to text file.

More details: What does the u stand for in the RDD's print? Thanks

0 Likes