UNSUPPORTED_ADD_FILE error class
Don’t support add file.
DIRECTORY
The file <path>
is a directory, consider to set “spark.sql.legacy.addSingleFileInAddFile” to “false”.
LOCAL_DIRECTORY
The local directory <path>
is not supported in a non-local master mode.