I would like to change the new line delimiter to "\u0001" in pyspark. How can I do that? when doing the following it still uses the newline "\n" delimiter. thanks!
from pyspark import SparkContext, SparkConf
# create a SparkConf object with some configuration options
conf = SparkConf().setAppName('example').setMaster('local[*]')
conf.set("textinputformat.record.delimiter", "\u0002")
# create a SparkContext object with the SparkConf object
sc = SparkContext(conf=conf)
rdd = sc.textFile(f"MY_PATH")