powered by
Append the given String to a file, encoded in UTF-8.
mssparkutils.fs.append(file, content, createFileIfNotExists = FALSE)
FALSE to mimic the result if file content append fail.
file
FileSystem URI
Content needs to be append to file, encoded in System default charset.
If set to true, will firstly try to create file if not exists.
mssparkutils.fs.append("/tmp/my-file", "Hello world!") mssparkutils.fs.append("/tmp/my-file", "Hello world!", TRUE)
Run the code above in your browser using DataLab