PySpark - Parse CSV file with UTF-16 encoding

前端 未结 0 799
無奈伤痛
無奈伤痛 2020-12-05 18:37

I have a CSV file which has UTF-16 LE encoding.

I am able to parse the data using below code (Spark 2.4.5):

df = spark.read \\
    .schema(\'`my_id` st         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题