Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Change dataframe to rdd format under spark

Shulou Source: shulou.com Published: 2022-06-03 05:02:34 11月25日 Update

Dataframe can achieve many operations, but when stored locally, it can only be stored in parquest format.

Need to store source format, need to convert to rdd type

Mapping each line in a dataframe into a comma string makes it an rdd.

Tags: Format storage line time type comma Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi vpn Huawei Microsoft Redmi