pyspark - read csv with custom row delimiter

how can I read a csv file with custom row delimiter (\x03) using pyspark? I tried the following code but it did not work.

df = spark.read.option("lineSep","\x03").csv(path)
display(df)


from Recent Questions - Stack Overflow https://ift.tt/3jRYqzT
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation