format("..."): Specify the type of data to be loaded, including "csv", "jdbc", "json", "orc", "parquet" and "textFile".
load("..."): In the "csv", "jdbc", "json", "orc", "parquet" and "textFile" formats, the path to load data needs to be passed in. The parquet file is loaded by default.
option("..."): In the "jdbc" format, the corresponding JDBC parameters, such as url, user, password and dbtable, need to be passed in.
The format and option parameters are the same as above.
save: Specify the storage path. The default is snappy compressed parquet file storage format.
mode: Used to specify how to process the data. Default error, throw an exception if the file exists; append if the file exists, append; overwrite if the file exists, overwrite; ignore if the file exists, ignore it.