Loading a 'Text Unicode(.txt)' file to Apache Spark

Spark by default expects a UTF-8 text file. What is the best way to read a ‘Text Unicode(.txt)’ file as a Spark RDD or DF?

This is Ignite Realtime Spark (XMPP Client) forums, not Apache Spark.

1 Like